Question

my question is quite simply, how can I popup the following view in my app?

No Access To Photos Or Videos

I've seen this in quite a lot of apps, so I believe this is a system-level view controller? But what is it? How can I show it in my app?

Was it helpful?

Solution

As far as I know, that is NOT a system provided view. You'll have to detect a denial of permission by the user, and then create a view to display. Many people copy Apple's style for this view in order to make their apps 'blend in' with the platform, but its not directly provided to third party developers.

OTHER TIPS

You do not have to pop this by yourself. Whenever you implement functionality that needs privacy settings, the OS asks the user if he would like to let your app to use this functionality (for example contacts or camera) automatically. If he denies to give access, then he will be presented with a view like this one whenever he tries to use that functionality again (unless of course if he has changed the settings manually in privacy settings).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top