iOS11蓝牙URL方案
iOS 11 Bluetooth URL Scheme
所以最近我们开始在 iOS11 上测试我们的应用程序并注意到我们无法再将用户导航到蓝牙设置页面以提示他们将其打开。我想知道是否有人知道新的 URL 方案是什么。 App-Prefs:root=Bluetooth
适用于 iOS 11
以下的所有版本
目前(9/19/2017) iOS 11.
上的这个问题似乎没有解决方案
下面使用 UIApplicationOpenSettingsURLString 打开 Settings.app 的代码适用于 iOS 11。也许这对你来说是一个解决方法。
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]];
C#中的代码片段:
UIApplication.SharedApplication.OpenUrl(new NSUrl(UIApplication.OpenSettingsUrlString));
参考文献:
Anyone have anything on URL Schemes in iOS 11 developer Beta?
How to open Location Services from iOS application for iOS 11 beta?
所以最近我们开始在 iOS11 上测试我们的应用程序并注意到我们无法再将用户导航到蓝牙设置页面以提示他们将其打开。我想知道是否有人知道新的 URL 方案是什么。 App-Prefs:root=Bluetooth
适用于 iOS 11
目前(9/19/2017) iOS 11.
上的这个问题似乎没有解决方案下面使用 UIApplicationOpenSettingsURLString 打开 Settings.app 的代码适用于 iOS 11。也许这对你来说是一个解决方法。
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]];
C#中的代码片段:
UIApplication.SharedApplication.OpenUrl(new NSUrl(UIApplication.OpenSettingsUrlString));
参考文献:
Anyone have anything on URL Schemes in iOS 11 developer Beta?
How to open Location Services from iOS application for iOS 11 beta?