[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"] is no longer working in iOS10

If the system's locations services is off, when the app is trying to open the location services using the following is not working in iOS10 but, working in iOS9

[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]


I am currently using [NSURL URLWithString: UIApplicationOpenSettingsURLString] to take the app to the Application settings but, if the system location is off, the location services is greyed out leaving out no clue to the user that the location services had been turned off in the system settings?


Is there a way to get to the System location services settings in iOS10. I see some apps like Google Maps is still able to navigate back to System Loaction services, please advise.


Thanks,

Kapil