How to reset ALAuthorizationStatusNotDetermined for photo permission on real device

匿名 (未验证) 提交于 2019-12-03 09:14:57

问题:

In detail,

I am making a photo function for my app, it seems that when I permit the app to access the photo once, ALAuthorizationStatusNotDetermined will no longer appear again, even I have deleted the app.

So is there any way that I can reset the app ALAuthorizationStatusNotDetermined again for debugging?

回答1:

When developing on real device, reset privacy settings in

Setting, General -> Reset -> Reset Location & Privacy

Be aware that this will reset the settings for all applications at once.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!