上架被拒 2.5.1 使用“prefs:root =”非公共UR
2019-06-11 本文已影响0人
pingxhcn
上架被拒 2.5.1
### 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 not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Specifically, your app uses the following non-public URL scheme:
- prefs:root=privacy&path=camera
- prefs:root=privacy&path=photos
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.
**Next Steps**
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.
If there are no alternatives for providing the functionality your app requires, you can use [Feedback Assistant](https://feedbackassistant.apple.com/welcome) to submit an enhancement request.
在使用第三方图片选择库 TZImagePickerController 时, TZImagePickerController使用了 prefs:root= 非公共 API,将其更换为 UIApplicationOpenSettingsURLString 即可。