0

So recently we started testing our app on iOS11 and noticed that we were no longer able to navigate the user to the bluetooth settings page to prompt them to turn it on. I was wondering if anyone had figured out what the new URL scheme was. App-Prefs:root=Bluetooth was working for all versions below iOS 11

1 Answers1

1

It looks like there's no solution at this time(9/19/2017) for this issue on iOS 11.

The codes below using UIApplicationOpenSettingsURLString to open the Settings.app works on iOS 11. Maybe it's a workaround at this time for you.

When you open the URL built from this string, the system launches the Settings app and displays the app’s custom settings, if it has any.

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

The code snippet in C#:

UIApplication.SharedApplication.OpenUrl(new NSUrl(UIApplication.OpenSettingsUrlString));

References:

Kevin Li
  • 2,258
  • 1
  • 9
  • 18