Guideline 2.5.1 - Performance - Software Requirements

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/CX_NO1/article/details/82732773

Guideline 2.5.1 - Performance - Software Requirements Your app uses the "prefs:root=" non-public URL scheme, which is a private entity.

上架App Store最烦的就是被拒,但是每个程序员都会被虐恋过。这种情况,是说你使用了苹果的私有API,苹果不干了。全局搜索一下  “prefs:root”  ,把这些权限跳转,修改为

NSURL * url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if([[UIApplication sharedApplication] canOpenURL:url]) {
    [[UIApplication sharedApplication] openURL:url];        
}

即可  iOS 关于 定位、相机、相册权限处理

针对部分权限判断及处理,请到上面传送门查看

猜你喜欢

转载自blog.csdn.net/CX_NO1/article/details/82732773
今日推荐