天天看點

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

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

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]];