I'm working on an app which I inherited from another developer. The app had previously been published to the app store.
When I tried to publish it again with my updates, Apple rejected it with this complaint:
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.
I did not add this code. I did search the app and did find a reference to "prefs:root=Bluetooth". It looks like the previous developer was trying to open the Bluetooth preferences on behalf of the user in the case when Bluetooth is not enabled. As the app is made specifically to communicate with a Bluetooth device, this is a helpful feature.
Is there some other way to do this, or must I simply remove this functionality in order to pass App Review?
Thanks,
Frank