Create the Objective C code for open the Location settings in IOS 11.But code working in IOS 10 and before IOS Releases
But It's Not working
I want go this section in settings
Settings > Privacy > Location Settings
I try many code but not working in ios 11.
my code
=======
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"App-Prefs:root=LOCATION_SERVICES"]]
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"App-Prefs:root=Privacy&path=LOCATION"]]
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=Privacy&path=LOCATION"]]
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]]
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"app-settings:root=LOCATION_SERVICES"]]
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"app-settings:root=Privacy&path=LOCATION"]]