title: Having app restart itself when it detects change to privacy settings
body: <p>I have an app that uses the <code>ALAssets</code> framework to access to the users photo library. I wrote some code that detects whether or not the app has permission to access the photo library, and if it doesn't, I display an alert message which tells the user to turn on location services for the app in settings. </p>
  
  <p>Problem is, when the user manually changes the privacy settings and then they reopen the app, iOS forces the app to crash with SIGKILL. </p>
  
  <p>I've noticed that the way another app handles this is by somehow detecting a change in the privacy settings, and forcing the app to restart the next time the user opens it. Does anyone know how to accomplish this? </p>