Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.

'NSObjectInaccessibleException', reason: 'This application is not allowed to access Photo data.' #49

Open
liuduanwen opened this issue Jun 6, 2016 · 4 comments

Comments

@liuduanwen
Copy link

when I don't allow to access "Photo" and click the back button , the exception was throw, I have seen some of the other people's similar access to the album code, and not because there is no access to the right and wrong, but also did not see the judgment of the code,I need some help ,thank !

@joshinn
Copy link

joshinn commented Jul 2, 2016

try PHCachingImageManager and other Photos object allocate after you checked PHAuthorizationStatus

@ryderjack
Copy link

seen the same exception thrown in my app - ever resolved? @liuduanwen @joshinn

@ryderjack
Copy link

Just ended up checking permissions before showing GMImagePicker

@hammadzz
Copy link

@ryderjack could you share the snippet? Do you throw a dialog alerting the user if the permissions aren't available?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants