Copy link to clipboard
Copied
Hi,
Is it possible to check if a user allowed access to the "camera roll" in an iOS 8 AIR app?
(the app needs the permission to let users load an image from the devices camera roll)
Thanks
Copy link to clipboard
Copied
Feature request for this issue: Feature#3837401 - [New_Feature_Requirement] [iOS 8] Detecting permissions for camera access
Copy link to clipboard
Copied
Is there any workaround available at the moment? Maybe something like a timer or error message that gets triggered if nothing happens because of the missing permission?
Copy link to clipboard
Copied
You can listen for an error event:
myCameraRoll.addEventListener(ErrorEvent.ERROR, saveToCamRollErr);
function saveToCamRollErr(e:ErrorEvent):void{
// Show a message like"If you want to save pictures from this app to the camera roll you need to enable it in the Settings > Privacy > Photos > NameOfApp"
}