解决方法
To resolve this issue, please revise your app to provide the associated functionality using public APIs or remove the functionality using the "prefs:root" or "App-Prefs:root" URL scheme.
个人程序不允许再支持直接访问设备设置对应设置项。
![](https://img.haomeiwen.com/i2068504/9f37adf7e50bcae6.png)
ios9以下这个功能被砍掉
ios10以上使用此功能:
NSString *version = [UIDevice currentDevice].systemVersion;
if (version.doubleValue >= 10.0) {
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] options:@{} completionHandler:nil];
}
网友评论