ios11
How to open your app in Settings iOS 11
Here is the code you’re looking for, I guess: if let url = URL(string: UIApplicationOpenSettingsURLString) { if UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url, options: [:], completionHandler: nil) } } And in addition, the updated version for swift 5 : if let url = URL(string: UIApplication.openSettingsURLString) { if UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url, options: [:], completionHandler: nil) } }
iOS 11 large title navigation bar snaps instead of smooth transition
I faced same issue – I had UIViewController embedded in UINavigationController, the UIViewController had tableview with leading, trailing, top, bottom constraints to safe area. The whole tableview behaved jumpy / snappy. The trick was to change top constraint of tableview to superview.
iOS11 photo library access is possible even if settings are set to “never”
Okay, you can sort of piece this together from answers and comments already, but to try to tell a more complete story… In iOS 11, UIImagePickerController runs as a separate process from your app. That means: Your app can’t see the user’s whole Photos library — it gets read-only access just for whichever asset(s) the … Read more
iOS 11 – Is in app purchase testing using a sandbox user keeps asking to sign in for anyone else too? Forever loop?
The same thing happens for me, for three separate sandbox users which were created before iOS 11 release. (The problem seems prevalent on iOS 11, there are posts on reddit and apple forums reporting this issue) It seems creating new fresh sandbox user is the way to go. Sandbox users created after iOS 11 release … Read more
What’s difference between NSPhotoLibraryAddUsageDescription and NSPhotoLibraryUsageDescription?
Simple get from Apple Official Document Just click on above image for ZOOM and read it. For more information on: NSPhotoLibraryAddUsageDescription: If you want to save a photo/image to your Photo Library. For iOS11 and + NSPhotoLibraryUsageDescription: If you want to access your Photo Library. For iOS10 and +
HTTP load failed (error code: -999 [1:89]) for Task in iOS 11
HTTP load failed (error code: -999 [1:89]) for Task Error -999 means NSURLErrorCancelled, your request has been canceled before completion. According to the apple developer blog, there are few changes with ATS (likely that your server is using one of legacy crypto facilities that have been removed in iOS 11.) So give a try and … Read more
What is the crash of “The app’s Info.plist must contain an NSPhotoLibraryAddUsageDescription”?
Note that although the application info.plist does contains NSPhotoLibraryUsageDescription it still crashes, why? I think there is a misunderstanding when comparing NSPhotoLibraryUsageDescription and NSPhotoLibraryAddUsageDescription, as documented in Information Property List Key Reference: NSPhotoLibraryUsageDescription: This key lets you describe the reason your app accesses the user’s photo library. When the system prompts the user to allow … Read more
Xcode 9 App installation failed, Could not write to the device
In my case this issue was caused by using App Store distribution certificate while iPad was connected wirelessly. Switching to development certificate fixed the issue.