Search code examples
iossplash-screen

Privacy / Security Splash Screen - detect system alerts and avoid showing privacy screen in those cases


Currently, I have a privacy screen implemented in applicationWillResignActive - however, when system alerts are shown (location, photos, notification permissions, even hyperlinks to maps etc) it is showing the privacy screen. Is there a way around this?


Solution

  • Do not make you "privacy" screen show in the applicationWillResignActive: but in the applicationDidEnterBackground:.

    This does mean then when you enter the app switcher from your app it will not show, but once you have exited your app it will.