先贴出苹果审核给提出的问题吧
Your app uses the "prefs:root=" non-public URL scheme, which is a private entity.
然后还给出了严重的警告!!!
Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.
😂,再不改就拉小黑屋
于是全局搜索了项目
NSString * urlString = @"App-Prefs:root=WIFI";
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:urlString]]) {
if ([[UIDevice currentDevice].systemVersion doubleValue] >= 10.0) {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString] options:@{} completionHandler:nil];
} else {
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]];
}
}
发现确实有写这个东西,用到他的原因是,让他在app中跳到设置Wi-Fi页面,于是果断注掉了。
所以记录下来警告自己:
“Prefs:root=”会被拒,严重账号拉黑名单,务必去掉
网友评论