This is my snippet code:
if (([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0) { NSURL *URL = [NSURL URLWithString:@"App-prefs:root=Privacy&path=LOCATION"]; [[UIApplication sharedApplication] openURL:URL options:@{} completionHandler:nil]; }
This code works fine for iOS 10.0 to 10.3.3 but when I run this code for iOS 11(beta), the application goes into the background but the Setting page doesn't get opened.