jay*_*ixz 1 iphone settings xcode button uialertview
可能重复:
从其他应用打开"设置"应用
每当我显示UIAlertView提示时,有没有办法将用户引导到Settings.app ?此提示会提醒用户他的位置服务已关闭,我希望用户在点击我的内部按钮时打开Settings.app UIAlertView.
更新:我正在寻找类似的代码:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
Run Code Online (Sandbox Code Playgroud)
没有办法做到这一点.
因为到目前为止(2013年1月11日),没有可用于设置应用的网址方案.
你不能在iOS 6上这样做.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]];
Run Code Online (Sandbox Code Playgroud)
请参阅此答案以获取更多信息请通过iPhone上的应用程序拨打官方*设置*应用程序
| 归档时间: |
|
| 查看次数: |
8509 次 |
| 最近记录: |