Using App-Prefs:root=

Hello,


From the app, I want to open Bluettoh settings,

with iOS 9 I did use this and this works


UIApplication.sharedApplication().openURL(NSURL(string:"prefs:root=Bluetooth")!)


With iOS 10, I tested the following line and this also works:


UIApplication.sharedApplication().openURL(NSURL(string:"App-Prefs:root=Bluetooth")!)


Has anyone submitted an app for review with code using "App-Prefs"? I know that this is not documented, and I wonder if this is allowed.


Thanks

Hi Do you submit for review?

Is not work in iOS 11 beta , if any other way to do this in iOS 11?😢

Hi yniojo, I am even wondering with the same question. Did you hear anything about it?

Thanks in advance!

Hi yniojo

i am even wondering with the same question. Did you hear anything about it?



Thanks

Till not work in iOS 11.1 and 11.2.

Any fix or workaround ?


Thanks

I just had my app rejected due to using "prefs:root=Bluetooth" and/or "App-Prefs:root=Bluetooth" which was allowed and worked great in iOS 9. Looks like Apple is not allowing this functionality any longer. I'm still hunting for a way to specifically open the Bluetooth preferences in iOS 11 & 12.

Did you find a method in the meantime? I don't care about app-store-safe or not, but it's pretty annoying that this is no longer possible, in particular, because iOS15 seems to have broken the auto-connect to known Bluetooth devices for everything but audio devices.

Using App-Prefs:root=
 
 
Q