title: How can I prompt the user to turn on location services after user has denied their use
body: <p>I have an application with an explicit user interaction that makes use of the user's current location. If the user denies access to location services, I would still like subsequent uses to prompt the user to go to settings and re-enable location services for my app.</p>
  
  <p>The behavior I want is that of the built-in Maps app:</p>
  
  <ol>
  <li>Reset location warnings in Settings > General > Reset > Reset Location Warnings.</li>
  <li>Start Maps app.</li>
  <li>Tap Current Location button in lower left corner.</li>
  <li>Maps prompts with ""Maps" Would Like to Use Your Current Location" | "Don't Allow" | "Allow".</li>
  <li>Choose "Don't Allow" option.</li>
  <li>Tap Current Location button in lower left corner again.</li>
  <li>Maps prompts with "Turn On Location Services to Allow "Maps" to Determine Your Location" | "Settings" | "Cancel".</li>
  </ol>
  
  <p>In my own app, the same basic flow results in my CLLocationManagerDelegate -locationManager:didFailWithError: method being called with a kCLErrorDenied error at the final step and the user is not given the option to open the Settings app to correct it.</p>
  
  <p>I could display my own alert in response to the error, but it would not have the ability to launch the Settings app like the alert that the OS can provide as used by the built-in Maps app.</p>
  
  <p>Is there something in the CLLocationManager class I am missing that would be able to give me this behavior?</p>