2.5.1大礼包
查找: 全局搜索 prefs:root= 或者 openURL: 不要有 “prefs:root= x x x x”
Guideline 2.5.1 - Performance - Software Requirements
Your app uses the "prefs:root=" non-public URL scheme, which is a private entity. The use of non-public APIs is notpermitted on the App Store because it can lead to a poor user experience should these APls change.
Continuing to use or conceal non-public APls in future submissions of this app may result in the termination of yourApple Developer account, as well as removal of all associated apps from the App Store.
Next Steps
To resolve this issue, please revise your app to provide the associated functionality using public APls or remove thefunctionality using the "prefs:root" or "App-Prefs:root" URL scheme.
If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.
将类似这段私有api
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]];
换成下面的
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
5.1那个就很简单:在info.plist 里 说明调用相机相册的用途:例如: 需要拍照上传用户头像,是否允许打开相机?