【发布时间】:2016-01-13 11:54:28
【问题描述】:
我需要在IOS9.0 中打开蓝牙设置菜单。接下来打开设置菜单OK!,
UIApplication.sharedApplication().openURL(NSURL(string: UIApplicationOpenSettingsURLString)!)
但我需要打开尝试过的蓝牙设置菜单
UIApplication.sharedApplication().openURL(NSURL(string: "prefs:root=General&path=Bluetooth")!)
没有用
谁能帮帮我?
【问题讨论】:
-
现在我知道该怎么做了。必须包含 Info - URL Types - URL scheme - prefs
标签: ios9 ios-bluetooth