New Answer:
Now in iOS 8 you CAN programatically open the device settings app:
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
[[UIApplication sharedApplication] openURL:url];
If you are supporting earlier iOS versions and want to make sure this can be handled, do this:
if (&UIApplicationOpenSettingsURLString != NULL) {
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
[[UIApplication sharedApplication] openURL:url];
}
else {
//Earlier iOS version
}
Old Answer:
There is no way I know of to force the native popup to appear (and allow the user to jump to the settings page).
You can use the following method to determine if the user has allowed location services for your app:
CLLocationManager:
+(CLAuthorizationStatus)authorizationStatus
You can also find out if location services are globally enabled at the device level or not, too:
CLLocationManager:
+(BOOL)locationServicesEnabled