App does not have access to your photos or videos iOS 9
This issue appear in iOS 9 when your application Info.plist file contains a key: "CFBundleDisplayName" with empty string value.
You can enter your app name there and it should work.
UIImagePickerController not asking for permissions on iOS 9
The issue was the the Bundle Display Name wasn't set in the Info.plist
PHPhotoLibrary.requestAuthorization not asking permissions in iOS 9
This issue appear in iOS 9 when your application Info.plist file contains a key: "CFBundleDisplayName" with empty string value.
You can enter your app name there and it should work.
key {Bundle display name} value $(PRODUCT_NAME)
same problem founded there and solution
App does not have access to your photos or videos iOS 9
Error This app does not have access to your photos
There is nothing in the app what you could do.
The first time you attempt to access the library iOS will ask the user whether the App may access the library/photos or not. In your case the user using the iphone 4 tapped on 'no'.
At the same time an entry is created in the settings/privacy/photos/ with the display name of your app and your small settings icon (if you provided one - otherwise the standard icon will be shrinked automatically)
Go there and switch from off to on.
Do not expect this switch to take effect while the app is running. Along with the address book, not the photographed, I even observe some crashes when this setting is changed while the app is running.
iOS 9 - Request Camera authorisation for photos
Yes the code in my question does work, I was just being stupid and testing it on the iOS simulator and not on a real iDevice...... I think I need a coffee break :)
iOS app camera access denied iOS 9.1(black screen)
I had the exactly same issue for couple of days,
Try this its solved my problem, make sure that there is a value
(Application name as string) in your info.plist > "Bundle display name".
In my case it was empty and because of that it didn't work.
let me know if it helped you.
Related Topics
Convert an iOS Objective C Object to a JSON String
How to Add a Button to the Mkpointannotation
How to Create a Big, Red Uibutton with iOS
How to Disable/Enable the Sleep Mode Programmatically in iOS
Auto Layout Uiscrollview with Subviews with Dynamic Heights
Minimum and Maximum Date in Uidatepicker
How to Use Cgaffinetransformmakerotation
What Is "Error in _Connection_Block_Invoke_2: Connection Interrupted" in iOS
Swiftui - iOS 13 Uiviewrepresentable of Wkwebview Gets Thread 1: Exc_Breakpoint Crash
App Does Not Have Access to Your Photos or Videos iOS 9
Cocoapods: Failed to Connect to Github to Update the Cocoapods/Specs Specs Repo
Ios: Uibutton Resize According to Text Length
Enterprise In-House App Distribution
How to Restrict Special Characters in Uitextfield Except Dot and Underscores
Custom Font Not Working Programmatically in Swift
How to Get Only Images in the Camera Roll Using Photos Framework