iOS is the operating system for iPhone.

iOS Documentation

Posts under iOS tag

2,684 Posts
Sort by:
Post not yet marked as solved
10 Replies
11k Views
Anyone have issues with AirPods randomly disconnecting? I've bugged this.
Posted
by
Post marked as solved
6 Replies
5.0k Views
I get the following 3 new Xcode log messages with iOS 13 on launch (during application didFinishLaunchingWithOptions). Running on iPhone (not simulator). I assume this is just beta noise?[TraitCollection] Class _UISheetPresentationController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.[TraitCollection] Class _UIRootPresentationController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.[TraitCollection] Class UIPopoverPresentationController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
Posted
by
3no
Post not yet marked as solved
2 Replies
834 Views
It an app receives a Voip push, but has to terminate the call, then if this happens a few times the OS is terminating the app (Message from debugger: Terminated due to signal 9) and then it stops delivering future pushes to the app.i.e. with code let endCallAction = CXEndCallAction(call: callUUID) let transation = CXTransaction(action: endCallAction) self.callController.request(transation) { (error) in } provider.reportNewIncomingCall(with: callUUID, update: callUpdate) { error in Model.priorityLog("GRUNT reportNewIncomingCall completion error \(String(describing: error))") completion() }
Posted
by
Post not yet marked as solved
7 Replies
3.0k Views
My Custom keyboard extension doesn't appeared in "Settings -> General -> Keyboards -> Add new keyboard-> Third party keyboards" on simulator and real device. My keyboard extension has been working on previous versions.I tested on Xcode11 - beta2 1. File -> new -> Project... -> iOS -> Single View App 2. File -> new -> Targets... -> iOS -> Custom Keyboard Extension 3. Run on iPhone simulator iOS13 4. Go to Settings -> General -> Keyboard -> Keyboards -> Add new keyboard on Simulator. I couldn't find 3rd party keyboards. I tested same thing on xcode10 on iOS 12 simulator. It was fine and I was able to select 3rd party keyboard.It's strange that gboard and swiftkey are normally working on iOS13. Is There something that I miss new configuration or AppReview requirements?
Posted
by
Post not yet marked as solved
18 Replies
9.8k Views
I'm trying to store a 2 separated Strings (73067 bytes) and (280628 bytes) to User Defaults, in older iOS versions just work fine, but in iOS 13, i can't save this data.This is how i save the data:UserDefaults.standard.set(myData1, forKey: KEY_MY_DATA_1)UserDefaults.standard.synchronize()UserDefaults.standard.set(myData2, forKey: KEY_MY_DATA_2)UserDefaults.standard.synchronize()Throws this error on iOS 13:2019-08-19 15:34:24.616570+0200 myAppName[4108:240228] [User Defaults] CFPrefsPlistSource<0x6000037cc980> (Domain: com.domain.myAppName, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid. This is a bug in myAppName or a library it uses.
Posted
by
Post not yet marked as solved
5 Replies
2.3k Views
Hi,My app supports 2 different share extensions, and before iOS13, it was easy to tell them apart, because I would specify this in the Bundle Display Name (CFBundleDisplayName in info.plist). With iOS13, it seems to only show the name of the app for both share extensions, and not the Display Name specified, which will make it confusing to users if they see the same app icon + name in the share sheet.I filed a Radar for this, but it was returned with "Resolution:Investigation complete - Change required from 3rd party" ... but it didn't specify what kind of change to make.Anyone know how to customize the name of the share extension going forward?Thanks.
Posted
by
Post not yet marked as solved
4 Replies
7.5k Views
Several of our apps put tutorial videos in a webview inside the app. These always worked great before iOS 13. User would tap on the embedded video, it would expand to full screen and play the video. Now, with iOS 13, this no longer works. You tap the embedded video and nothing happens. If you tap it over and over, eventually you might get lucky and the video starts playing.Anyone else seeing this? Any work around?Thanks
Posted
by
Post not yet marked as solved
10 Replies
5.9k Views
A Small bug I found in screen time. If you enable screen time, go into content restrictions, go into web content, click on 'allowed web content only' then set up a whitelist. open safari.type in any website that's not in the list, It should be blocked as per usual.to bypass, simply type in a file extension at the end of the web address. For example, http://www.instagram.com/p.pdfit will bypass the content filtering and give you access to the site.it works on a variety of sites, not every site, but it is quite easy to access objectionable material.
Posted
by
Post marked as solved
12 Replies
29k Views
if I installed iOS 14 beta on my device.. can I back to the to iOS 13 general released version without losing my data?
Posted
by
Post not yet marked as solved
1 Replies
308 Views
Hello All... It may be a bug, or the way I have set this up. I have the set the following: Do Not Disturb from 9pm to 8am Wind Down to 30 minutes Sleep Schedule to 9:15pm to 6:40am Now I do understand that when you wear the Watch to bed, it now states the alarm will go off on the watch. What is not clear is if the iPhone will alert also. So when the Alarm goes off at 6:40am, all I get is a really soft tap on the Watch. No sounds at all. It is so gentle, I have slept through it twice. iOS13 would use alarm alerts on both the iPhone and Watch. Am I missing something here...?? Thanks in Advance.
Posted
by
Post not yet marked as solved
2 Replies
1k Views
I'm facing a weird situation in my app. When keyboard shows up and I click on microphone icon for dictation, the "Enable Dictation?" alert shows up but disappears quickly before I can tap on any option. How do I find out what is wrong in my code or how do I fix it?
Posted
by
Post not yet marked as solved
1 Replies
319 Views
I am developing an iOS program which is using UIDocumentPickerViewController to get the content of USB. It's OK. But I also need to get the serial number of USB. For MFi USB, I can use EAAccessoryManager to get the serial number, but it cannot apply to non-MFi USB. Is there any method to get the serial number of non-MFi USB? Jacks Hung
Posted
by
Post not yet marked as solved
1 Replies
459 Views
First of all when I try to purchase $99 Apple Developer membership from developer.apple.com it gets cancelled automatically. When I go to store.apple.com I can't add payment method. When I try to add payment method in appleid.apple.com/account/manage I can select Bangladesh as shipping address but can't select Bangladesh in Country/Region popup. Does that mean, the people of Bangladesh cannot buy Apple Developer membership and become an App Developer? Why can we select Bangladesh in shipping but can't select Bangladesh for payment in appleid.apple.com?
Posted
by
Post not yet marked as solved
19 Replies
12k Views
Last night I restored my iPhone 11 Pro Max to iOS 14 beta. After iPhone restored I am stuck at the activation screen. In setup assistant after selecting country and signing into my WiFi my iPhone tries to activate. After a few seconds I get: "Unable to Activate Your iPhone could not be activated because the activation server cannot be reached. Try connecting you iPhone to a Mac or a PC with iTunes to activate, or try again in a couple of minutes. If this problem persists, contact Apple Support at apple.com/support" Restored on a MacBook 12" running macOS Big Sur beta 2 Shutdown iPhone on setup assistant screen and restarted. Used multiple good Wi-Fi connections. Also tried activating on Cellular. Tried removing sim card and reinserted. Tried a different sim card from the same carrier. Re-downloaded iOS 14 IPSW file. Put iPhone back into recovery mode. Opened finder selected iPhone, held down option while clicking on restore. Selected iOS 14 IPSW file. iPhone restored. Get the same activation error. Put iPhone into recovery mode. Opened finder, this time I selected restore without holding option. iPhone restored back to iOS 13. Also tried activating through finder and I get the following error: "Activation Failed The iPhone cannot be synced. Received an unexpected response from the device." Still receive "Unable to Activate". It's almost 24 hours and I am still unable to activate my phone. Anyone else having issues?
Posted
by
Post not yet marked as solved
1 Replies
549 Views
I'm using UIDocumentPickerViewController to allow the user to select a folder in which to save a text file. All is working well except for being able to display a message confirming the location of the file saved. The screenshot (images not allowed here, so list of folders instead) shows a typical list of folders displayed by UIDocumentPickerViewController that the user can select: iCloud Drive Desktop Documents Documents by Readdle Downloads gjLists Shortcuts On My iPhone The folder names displayed to the user are those that are expected. However, the URLs returned by UIDocumentPickerViewController differ from those displayed and are not suitable for displaying to the user in a confirmation message: .../data/Library/Mobile Documents/com~apple~CloudDocs .../data/Library/Mobile Documents/com~apple~CloudDocs/Desktop .../data/Library/Mobile Documents/com~apple~CloudDocs/Documents .../data/Library/Mobile Documents/3L68KQB4HG~com~readdle~CommonDocuments/Documents .../data/Library/Mobile Documents/com~apple~CloudDocs/Downloads .../data/Library/Mobile Documents/iCloud~net~jermware~gjLists/Documents .../data/Library/Mobile Documents/iCloud~is~workflow~my~workflows/Documents .../data/Containers/Shared/AppGroup/EB502BF4-9272-466F-9F5D-0CA97E35E687/File Provider Storage In some of the URLs I could use just the last path component e.g. Desktop, Documents, Downloads, but for some it's the second from last path component e.g. gjLists, and for others the path is completely different e.g. Documents by Readdle, Shortcuts and On My iPhone. This makes it very difficult/impossible to reliably parse the URL to extract the folder displayed to the user by UIDocumentPickerViewController. After some investigation, I found the FileManager.default.displayName API which returns the display name of the file or directory at a specified path. This improves things somewhat, giving the following folder names for the above URLs: iCloud Drive iCloud Drive iCloud Drive Documents by Readdle Downloads gjLists Shortcuts File Provider Storage I now have the correct names for Documents by Readdle, Downloads, gjLists and Shortcuts, but just iCloud Drive for Desktop and Documents and still 'File Provider Storage' for 'On My Phone'. Does anyone know how, given the URLs returned by UIDocumentPickerViewController, I can get the folder name as displayed in the picker? Displaying a confirmation message to the user saying the file was successfully saved to the 'File Provider Storage' folder rather than 'On My iPhone' is going to cause no end of confusion.
Posted
by
Post not yet marked as solved
7 Replies
7.9k Views
Hi, We've been using the WKWebView for authentication and authorization purposes inside our app. Unfortunately, we are not able to enable the password autofill/keychain integration with WKWebView. The website is working correctly (we can see the suggested passwords and the key for the password list)whenever we are opening it using Safari, but when we are trying to open it inside our app using the WKWebView there is only default toolbar ( with arrows and done button). Is there a possibility to enable autofill using some javascript scripts or WKWebViewConfiguration in WKWebView or is this behaviour is reserved only for SFSafariViewController and Safari?
Posted
by
Post not yet marked as solved
12 Replies
5.8k Views
In a simple app with a ScrollView inside a NavigationView, on scroll the content of the scrollView doesn't smoothly transition from its size with navigationBarDisplayMode .large to .inline, but rather makes this a jarring jump. Minimum code to reproduce: struct ContentView: View {     var body: some View {         NavigationView {             ScrollView {                 ForEach(0..<200, id: \.self) { i in                     Text("Row \(i)")                         .frame(maxWidth: .infinity)                 }             }             .navigationTitle("Test")         }     } } The following code produces the desired smooth transition though: struct ContentView: View {     var body: some View {         NavigationView {             List {                 ForEach(0..<200, id: \.self) { i in                     Text("Row \(i)")                 }             }             .navigationTitle("Test")         }     } } I could not replicate the issue using UIKit's UITableViewController inside a UINavigationViewController, nor with a UIScrollView inside a UINavigationViewController. Observed in simulator and on device running iOS 14 public beta (18A5319i), built with Xcode 12.0 beta 2 (12A6163b) on macOS 10.15.5 (19F101).
Posted
by
Post not yet marked as solved
1 Replies
1.4k Views
I needed an infinite canvas for my app which is basically a drawing board where one can draw things using pen. So, I thought of having a very large custom UIView inside a UIScrollView. And in the custom view, I could keep drawing things. But, I ended up with a warning saying something like below and nothing drawn on screen. [&lt;CALayer: 0x5584190&gt; display]: Ignoring bogus layer size (50000, 50000) Which means, I can't have such a big CALayer to draw things. Now, solution? alternative? Then comes CATiledLayer. I made my large UIView backed by CATiledLayer now. After having a proper levelOfDetails and levelOfDetailsBias value, things worked like charm. Until I ended up facing another problem. Since, CATiledLayer caches drawing in different zoom levels if I try to scale the view after changing the drawing content the cached drawings appear and then the new contents get drawn. I don't find an option to invalidate caches in different levels. All the solutions I came across leads me to clear the entire contents of the CATiledLayer on drawing content change which won't help again. Do I miss something here? Is there a way with which I can clear caches at different levels? Or is there any other solutions which could solve my need? Can someone help me with this?