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) } }

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 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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)