美文网首页
ios被拒 2. 5 Performance: Software

ios被拒 2. 5 Performance: Software

作者: Zszen | 来源:发表于2018-10-15 22:07 被阅读23次

解决方法
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.

个人程序不允许再支持直接访问设备设置对应设置项。

image.png

ios9以下这个功能被砍掉

ios10以上使用此功能:

NSString *version = [UIDevice currentDevice].systemVersion;
if (version.doubleValue >= 10.0) {
    [[UIApplication sharedApplication]openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] options:@{} completionHandler:nil];
}

相关文章

网友评论

      本文标题:ios被拒 2. 5 Performance: Software

      本文链接:https://www.haomeiwen.com/subject/ctsbaftx.html