如何为真实设备上的照片权限重置ALAuthorizationStatusNotDetermined [英] How to reset ALAuthorizationStatusNotDetermined for photo permission on real device
问题描述
详细
我正在为我的应用程序执行照片功能,似乎当我允许该应用程序访问一次照片时,即使我删除了该应用程序,ALAuthorizationStatusNotDetermined也将不再出现.
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.
那么我有什么办法可以再次重置应用ALAuthorizationStatusNotDetermined进行调试?
So is there any way that I can reset the app ALAuthorizationStatusNotDetermined again for debugging?
推荐答案
在真实设备上进行开发时,请在
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.
这篇关于如何为真实设备上的照片权限重置ALAuthorizationStatusNotDetermined的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!