Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [ios]

iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Flutter ios build fails Pods-Runner-frameworks.sh

I'm trying to build a flutter app for ios. The simulator runs fine, but I cannot build to test on a phone. The problem occurs when I try to install url_launcher, without it everything works fine. I ...
0
votes
0answers
6 views

How to get entire snapshot of scrollview/tableview with SnapKit

When I use Frame to layout subviews, I could get entire snapshot of scrollview. But when I use AutoLayout/SnapKit, the code below will not work. Why? extension UIScrollView { var cc_snapshot: ...
0
votes
0answers
4 views

requestExportSessionForVideo for a PHAsset, callback never called

the code below is to converting the video from album PHAsset* asset = resource; if(asset.mediaType == PHAssetMediaTypeVideo){ NSURL* outputURL = [self generateOutputFileWithExtension:@...
0
votes
0answers
6 views

Seamless GPS location data transmit between Mobile apps

I know we can store the first mobile GPS data in Database and retrieve from the second device. But doing this every single move seems not efficient. Is there any better way to transfer this data ...
0
votes
0answers
4 views

How to view cpbitmap file (or convert to readbale image)?

Long story short, I have a wallpaper photo on my iphone where the original photo has been non-existant for many, many years. I'd like to save this photo (of my baby daughter) for preservation. I ...
0
votes
0answers
6 views

How do I use the animation correctly in WKWebView?

I'm currently making WKWebView a hybrid app. So I'm working on a sidebar to make it Native. My problem is that I can't see the sidebar screen, and I see blink when the animation is running. ...
-3
votes
0answers
10 views

How can I download an epub from the server to the user's Iphone? [duplicate]

I would like to do the following Download an epub file stored on a server to the user's phone The file opens up automatically and the user chooses to save it in a specific folder. How can I do this ...
0
votes
0answers
6 views

UIVisualEffectView become opaque

I'm trying to add blur effect on a UIView contains UIImageView but the UIVisualEffectView become opaque. I have tried below codes in Obj-C, and it is working fine. self.selectedDetailsView....
0
votes
0answers
10 views

viewWillTransition to size not being called when, in split-screen multitasking mode, the other app closes

I have a view controller that overrides viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) in order to adjust some widget sizes depending on the available ...
0
votes
0answers
10 views

iOS SpringBoard doesn't load Notification Service Extension

I'm sending a regular push notification and expect it to be updated by Notification Service Extension on iOS13. But this doesn't happen and I see the original notification only. Console logs contain: ...
0
votes
0answers
18 views

What type of Certificate do I need to create?

I'm creating an app for a few users, literally 5 people, that will not be distributed via the App Store. I created an "iOS App Development" Certificate previously for local development using my ...
0
votes
0answers
9 views

Does iOS Smart App banner pass app-argument if App not installed?

Will the data in via app-argument attribute (in Smart App Banner) pass to the App when user installs & launches the app. This link mentions that the data passes to app only if it is already ...
0
votes
0answers
6 views

Does iOS Smart App Banner work in iOS Chrome/Firefox browsers?

Does Smart App banner work in any other browser in iOS device other than Safari Mobile browser ?
0
votes
2answers
19 views

Using UIScenes in iOS 13, how do I AirPlay Mirror a screen (seems to default to external display)

If I compile onto an iOS 12 device (doesn't use UIScene) and AirPlay Mirror to my Apple TV the app is mirrored as expected to the TV. On an iOS 13 device, it seems to treat it as an external display ...
0
votes
1answer
30 views

Swift - Change a UIImageView when an odd or even number is received as an answer to a multiplication product

As a user, I want to change the imageView to a funny photo, when the product results an odd number. When the product is even, change the imageView to an even “funnier” photo.
0
votes
0answers
6 views

How to change the window title in a Mac Catalyst window scene?

I'm opening multiple scenes in the Mac Catalyst version of my iPad app. The problem is that all of the windows simply show my app name in each window title. This makes it confusing looking at the list ...
0
votes
1answer
23 views

Sharing data by memory reference between iOS app and framework

I'm developing an app which uses a singleton pattern to store single-session user state data. It uses a framework which requires access to the same data, but currently the framework only finds nil ...
0
votes
0answers
10 views

TypeMismatch error when instantiating view controller

When trying to instantiate a view controller from my storyboard with the instatiateViewController withIdentifier function, xcode throws this error: "ERR: typeMismatch(Swift.Array, Swift....
0
votes
0answers
10 views

Login via Facebook doesnt work on Safari-IOS

I am building a react web app and I have an option to log-in via Facebook. I am using React-Facebook-Login for that purpose in my frontend. My code is like this <FacebookLogin ...
0
votes
0answers
11 views

How do you re-sign an IPA file in Windows 10

I'm testing an iOS app for a client in UAT and they want us to re-sign the IPA. How can I resign it in Windows 10. If using a MacOS, after creating a developer account how can I get the provisioning ...
0
votes
0answers
6 views

fastlane adhoc build and appstore using same certificate and provisioning profile

Our team gets only one of 3 available distribution profiles and we use it for our Fastlane adhoc builds. Is there a way to use the same cert & profile to upload to AppStore using match? As adhoc ...
0
votes
1answer
13 views

Cannot subscript a value of type '[String : Any]' with an argument of type 'UIImagePickerController.InfoKey'

I'm trying to figure how to update my code to support the new way that UIImagePickerController() works in Swift 5 I was able to fix the same error in another section of my code here: func ...
0
votes
0answers
22 views

Is it possible to retrieve an object list (which was created from a JSON file) from another class?

I am new in iOS programming and I have a question about getting a list built from another class. Let me explain : I am trying to build a basic bike app, that allows user to see all bikes location in a ...
0
votes
0answers
5 views

juce application playing mp4 video while signal processing the sound

I'd like to use JUCE to create an application that plays an mp4 file (video + audio) while digitial signal processing the audio. However, I could not find any tutorial covering mp4 videos in the JUCE ...
0
votes
1answer
14 views

The spec did not pass validation, CocoaPod Generation Lint Error

I am building an CocoaPods with making Touch Framework. The name of it is Elias for just trying and I am starting with a simple tutorial but I've not forwarding my process because of bunch of lint ...
0
votes
1answer
19 views

Moving SKSpriteNode with touch, speeds up at half screen point

I'm working on a 2-d Platformer style game. I'm very new to IOS and Swift development. I'm attempting to use a button (a different node) to move my character across the screen from left to right. It ...
0
votes
0answers
7 views

Is it possible for an Apple Watch app to require compass? (app for Apple Watch Series 5 only)

I'm building a watchOS companion app for a navigation app. It relies on the compass, which was introduced on Apple Watch Series 5. The app is useless without a compass. I'm familiar with ...
0
votes
0answers
5 views

0__abort_with_payload i transfered my project to another mac and now i'm presented with this error

0__abort_with_payload i copied my project to another mac and now i'm presented with this error i'm also presented with "6_dyld_start", it downloads the app to my Iphone but, launches a white screen my ...
0
votes
0answers
15 views

Unable to simultaneously satisfy constraints when UIToolbarContentView is present

I have a custom button on top of a datepicker view. When the datepicker is active I get the "Unable to simultaneously satisfy constraints." The error has popped up After I updated to Xcode 11, This ...
-1
votes
2answers
39 views

Issue switching app to Dark Mode when device is in dark mode | Swift iOS 13

When dark mode is already enabled on the device and I open my app all of the color sets that specify dark mode are not being applied: But when having the app already open and switching to Dark Mode ...
-1
votes
0answers
11 views

Remove app from options to make a call from contact details [on hold]

Is it possible to programmatically remove the app (like Viber or telegram on pic) that is using CallKit and voip from the options to call in contact details? Or how to prevent the app being added to ...
0
votes
1answer
10 views

Coredata merges relationship instead of overwriting it

I have two coredata entities, say Class and Student with a one to many relationship (Cascade delete, ordered). I have enabled unique constraint on an entity customId. customId is not optional When I ...
0
votes
1answer
24 views

Third Party URL not logging in to account in Ionic iOS

I am using Cordova Plugin Advance HTTP to fetch the user token from my server and then create a url from that token to let my current user sign in to his account profile. My code is as below: teetime....
0
votes
1answer
21 views

The setState method doesn't refresh all the page in my flutter app

I have in my flutter app a 'TabBar' with 4 tabs... When I switch the tab, it opens an other page as you can see in my code here : Widget _selectedContent(){ switch(_selectedItems){ case ...
0
votes
0answers
17 views

Combining Battery and Wakelock does not give desired outcome

Currently I'm trying to build an app that does the following: 1) When connected to power do not allow device to go to sleep 2) When disconnected from power allow the device to go to sleep Currently ...
0
votes
0answers
9 views

Replacement for the Edit Menu (Cut, Copy, Paste) + UITableView API (iOS 13 deprecations)

iOS 13 deprecated those methods: tableView(_:shouldShowMenuForRowAtIndexPath:) tableView(_:canPerformAction:forRowAtIndexPath:withSender:) tableView(_:performAction:forRowAtIndexPath:withSender:...
1
vote
0answers
15 views

What do I need to do to get cocoapods to build with C++?

I'm trying to build a library to distribute via Cocoapods. The library is written mainly in Objective C, but includes a few C++ files. None of the C++ headers are part of the library's public API. The ...
0
votes
0answers
12 views

How can I see my app page before publish for IOS?

Google's Internal Test Track allows to see how will the app's market page would look like after release in test mode. Does Apple provide such a feature? I am not able to get any preview for AppStore ...
-1
votes
0answers
20 views

Losing SQLite Data in tables - Swift 5, Xcode 11.1

In AppDelegate I call functions in struct to create SQLite Database and three tables needed for my application. Using functions in structs, I insert, update, delete records in these three tables ...
0
votes
0answers
15 views

Would apple push - push notifications in this kind of situation?

Say we have a cell phone with persistent connection (talking 5G LTEEEE here), but it's also connected to WiFi. Unfortunately, that WiFi either has non-persistent or the firewall has the necessary ...
0
votes
0answers
29 views

What the difference between metal 2 and metal 1? [on hold]

What is the difference between metal 2 and metal 1? Especially about shaders, does the code of shaders the same between metal 2 and metal 1?
0
votes
0answers
12 views

Volume fluctuations on iOS Safari (iPad)

I am playing mp4 files using SoundManager 2. This works as expected in desktop Chrome, desktop Safari, and desktop Firefox. However, in iPad Safari each mp4 plays at a different volume. Specifically, ...
0
votes
0answers
9 views

Access Token from Runkeeper [on hold]

Access token not generating from OAuthSwift 2 while connecting it with runkeeper. I have used swift 4 to code the app.I have tried changing my Callback url too, its returning to the app but the ...
0
votes
1answer
26 views

The difference between create Mac OS app project and iOS app project with Xcode in swiftUI?

I want to use swiftUI to develop an application running on both iOS and Mac OS. After MAC 10.15, I can run iPad app directly on Mac. So, what's the difference between creating a Mac OS project and an ...
0
votes
1answer
14 views

UIElements becomes inactive when RootViewController is set from SceneDelegate in iOS 13.1

I am currently experiencing these issues in Xamarin.iOS update to iOS 13.1. When I set the LoginController manually as the initial ViewController from Main.Storyboard everything works fine, but when I ...
0
votes
2answers
25 views

How to select tab bar item without selecting it

I am using swift and I have a problem with the tab bar. I want to select a tab bar item, but without open it, what I mean: I want to change its color like it is selected but without the selection is ...
1
vote
1answer
33 views

Change cornerRadius of the modal view controller

My goal is to increase corner radius of the modally presented controller to 25. As you can see in the picture it has rounded corners by default but I need them to have greater radius. I've tried ...
0
votes
0answers
17 views

How to dismiss a React Native RCTRootView back to a Native ViewController

I'm creating an app to integrate react-native with an existing Swift app. I've looked into similar issues: React-Native: Dismiss/Exit React-Native View back to Native How can I go back to native ...
0
votes
1answer
38 views

Swift - add custom color from Storyboard programmatically

I have a custom made color in Storyboard. Is there a way to access it via code? Couldn't find anything on that topic. I know there is a way to code custom-colors in Swift like this: view....
0
votes
0answers
14 views

How to download epub (or any file) to the users iPhone?

I have the following code that shows an ebook to the user in IOS. The code uses an ebook reader to show the code. Is there a way to download the ebook to the user's IPhone and allow the user to save ...