Don't Use prefs:root= in Your iOS Apps

My client got an error when trying to submit the app to app store. So the message goes like this :

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.

prefs:root=wifi

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.

So to solve it I need to change "prefs:root=" to open settings instead of using wifi setting prefs. This is the code :



I hope it helps you. If you have any question, please feel free to ask.

Source : https://stackoverflow.com/a/51702239/2899321

Popular posts from this blog

How to restart the app with flutter Android and iOS

Missing system image Android Studio solution

How to have ConstraintLayout inside ScrollView and ScrollView inside ConstraintLayout Android