Before I asked this question I had try:
- Use
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=Privacy&path=LOCATION"]];
It's work fine on iOS8 and iOS9,but there is nothing happen on iOS10. - Use
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
It's work fine on iOS8 and iOS9,too.However,on iOS10,when the app jump to system setting, the system setting exit immediately. - Use
[[UIApplication sharedApplication]openURL:url options:@{}completionHandler:nil];
It's crashed on iOS8 and iOS9,also,exit immediately on iOS10.
The question is can our app jump to system setting on iOS10? If yes.How?And for [[UIApplication sharedApplication]openURL:url options:@{}completionHandler:nil];
what's the options
means?We must code something for the options
?