System "Location Services Off" alert never appears on iOS 26 – how to guide users to turn on Location Services?

Hi everyone,

I'm building an iOS app (Expo SDK 54 / React Native, expo-location) where location is required for the core functionality (it shows stray animals near the user).

Scenario I'm testing on iOS 26 (iPhone, development build):

  • Settings > Privacy & Security > Location Services: OFF (device-wide)
  • Settings > [My App] > Location: "While Using the App" (already granted earlier)

When the app starts, it calls the equivalent of:

  • CLLocationManager authorization check (status = authorizedWhenInUse)
  • CLLocationManager.locationServicesEnabled() -> false
  • then a location request (requestWhenInUseAuthorization / requestLocation via expo-location's requestForegroundPermissionsAsync + getCurrentPositionAsync)

I expected iOS to show the system alert:
"Location Services are off. Turn On Location Services to Allow '[App]' to Determine Your Location" with [Settings] [Cancel].
However, after many attempts (app relaunches, toggling settings), this alert has never appeared even once.

Our fallback screen currently opens UIApplication.openSettingsURLString, but that only opens the app's own settings page, where the Location row can't help because Location Services are off device-wide. I know App-Prefs / prefs:root URLs are private and can lead to rejection under 2.5.1, so we don't use them.

Questions:

  1. Under which exact conditions does iOS show the system "Location Services Off" alert? Is it shown only once per install / per app launch, or has this behavior changed in recent iOS versions?
  2. Is there any supported API or recommended way to trigger that system alert, or to bring the user to Settings > Privacy & Security > Location Services?
  3. If not, is the recommended approach simply to show in-app instructions ("Settings > Privacy & Security > Location Services") plus a button that opens openSettingsURLString?

Thanks in advance!

Answered by DTS Engineer in 920526022

Thanks for the clear setup, including the status and the locationServicesEnabled() result you saw at each step. That made it easy to match your scenario to the documentation.

The iOS SDK header describes the alert you expected. In CLLocationManager.h, the comment for locationServicesEnabled says: "If NO, and you proceed to call other CoreLocation API, user will be prompted with the warning dialog." The header doesn't say how often the dialog appears. The iOS 26 and iOS 27 release notes don't mention a change to it. If your code checks locationServicesEnabled() and stops before calling other Core Location API, the header's condition isn't met.

I tried this on an iPhone with iOS 27.2.1, using a minimal app that had When In Use authorization. With Location Services off, requestLocation() reported kCLErrorDenied to the delegate and the alert appeared, though not on every request. The app's status was denied, as CLAuthorizationStatus.denied documents: "The user turned off location services for the device in Settings." Your status check reported authorizedWhenInUse, which differs from that. Because the status isn't notDetermined, requestWhenInUseAuthorization() has no effect. Its documentation says: "If the initial authorization status is anything other than CLAuthorizationStatus.notDetermined, this method does nothing and doesn't call the locationManager(_:didChangeAuthorization:) method."

To see system prompts again while testing, Requesting access to protected resources says to "tap Settings > General > Transfer or Reset iPhone > Reset > Reset Location & Privacy on your device." It also notes that this "resets location and privacy settings for all services on your device."

No documented API presents that alert or opens Settings at Privacy & Security > Location Services. openSettingsURLString is documented to "launch the Settings app and display your app's custom settings, if it has any," which matches what you saw.

For the guidance itself, the locationServicesEnabled() page describes the in-app instructions you planned: "If the result is true, provide instructions for enabling services for your app; otherwise, provide instructions for enabling the Location Services switch in Settings > Privacy." The switch is at Settings > Privacy & Security > Location Services, the path you gave. A button that opens openSettingsURLString fits the first case, where your app's own access is what needs to change.

If you adopt CLServiceSession or CLLocationUpdate, the authorizationDeniedGlobally property reports this case directly. It's available on CLServiceSession.Diagnostic and on CLLocationUpdate. What's new in location authorization describes it as true "if location services are disabled system-wide," so apps can "provide different guidance to those people who made up their mind globally." In my test, the first update from liveUpdates() had authorizationDeniedGlobally set to true.

If you'd like a way to take people directly to the Location Services switch, please file an enhancement request using Feedback Assistant. Describe your app's flow and the step where people need the switch. If you file it, please post the Feedback number here.

Please note that filing an enhancement request does not guarantee Apple will add any requested functionality to Apple products in the future. However, with that said, filing an enhancement request is a good way to get your ideas in front of the folks who make decisions about that sort of thing.

Thanks for the clear setup, including the status and the locationServicesEnabled() result you saw at each step. That made it easy to match your scenario to the documentation.

The iOS SDK header describes the alert you expected. In CLLocationManager.h, the comment for locationServicesEnabled says: "If NO, and you proceed to call other CoreLocation API, user will be prompted with the warning dialog." The header doesn't say how often the dialog appears. The iOS 26 and iOS 27 release notes don't mention a change to it. If your code checks locationServicesEnabled() and stops before calling other Core Location API, the header's condition isn't met.

I tried this on an iPhone with iOS 27.2.1, using a minimal app that had When In Use authorization. With Location Services off, requestLocation() reported kCLErrorDenied to the delegate and the alert appeared, though not on every request. The app's status was denied, as CLAuthorizationStatus.denied documents: "The user turned off location services for the device in Settings." Your status check reported authorizedWhenInUse, which differs from that. Because the status isn't notDetermined, requestWhenInUseAuthorization() has no effect. Its documentation says: "If the initial authorization status is anything other than CLAuthorizationStatus.notDetermined, this method does nothing and doesn't call the locationManager(_:didChangeAuthorization:) method."

To see system prompts again while testing, Requesting access to protected resources says to "tap Settings > General > Transfer or Reset iPhone > Reset > Reset Location & Privacy on your device." It also notes that this "resets location and privacy settings for all services on your device."

No documented API presents that alert or opens Settings at Privacy & Security > Location Services. openSettingsURLString is documented to "launch the Settings app and display your app's custom settings, if it has any," which matches what you saw.

For the guidance itself, the locationServicesEnabled() page describes the in-app instructions you planned: "If the result is true, provide instructions for enabling services for your app; otherwise, provide instructions for enabling the Location Services switch in Settings > Privacy." The switch is at Settings > Privacy & Security > Location Services, the path you gave. A button that opens openSettingsURLString fits the first case, where your app's own access is what needs to change.

If you adopt CLServiceSession or CLLocationUpdate, the authorizationDeniedGlobally property reports this case directly. It's available on CLServiceSession.Diagnostic and on CLLocationUpdate. What's new in location authorization describes it as true "if location services are disabled system-wide," so apps can "provide different guidance to those people who made up their mind globally." In my test, the first update from liveUpdates() had authorizationDeniedGlobally set to true.

If you'd like a way to take people directly to the Location Services switch, please file an enhancement request using Feedback Assistant. Describe your app's flow and the step where people need the switch. If you file it, please post the Feedback number here.

Please note that filing an enhancement request does not guarantee Apple will add any requested functionality to Apple products in the future. However, with that said, filing an enhancement request is a good way to get your ideas in front of the folks who make decisions about that sort of thing.