ios 10 访问设置问题NSURL*url=[NSURL URLWithString:UIApplicationOpenSettingsURLString]; if( [[UIApplication sharedApplication]canOpenURL:url] ) { [[UIApplication sharedApplication]openURL:url options:@{}completionHandler:^(BOOL success) { }]; }