打包上传被拒 Guideline 2.5.1 - Performance - Software Requirements

打包上传被拒 Guideline 2.5.1 - Performance - Software Requirements

在项目中全部搜索:prefs:root 找到后,把这个私有的

NSURL *url = [NSURL URLWithString:@"prefs:root=WIFI"];
改为
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
就可以了

 

posted @ 2018-11-06 18:23  mei1234!  阅读(294)  评论(0编辑  收藏  举报