从自定义 iOS 应用程序启动设置应用程序

发布于 2024-11-17 15:45:18 字数 191 浏览 0 评论 0原文

有什么方法可以从我们的自定义应用程序启动内置 iOS 设置 应用程序。

基于 URL 架构,可以启动 safari、地图、YouTube、iTunes...等。但在文档中没有任何与设置应用程序相关的信息。

TIA。 -巴拉吉·R.

Is there any way to launch the build-in iOS settings application from our custom applications.

Based on the URL schema , it is possible to launch safari,maps,YouTube,iTunes... etc. But in the documentation there is no any info related with settings app.

TIA.
-Balaji R.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

乖乖兔^ω^ 2024-11-24 15:45:18
//code for opening settings app in iOS 8
[[UIApplication sharedApplication] openURL:[NSURL  URLWithString:UIApplicationOpenSettingsURLString]];


//code for opening settings App in ios5
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]];
//code for opening settings app in iOS 8
[[UIApplication sharedApplication] openURL:[NSURL  URLWithString:UIApplicationOpenSettingsURLString]];


//code for opening settings App in ios5
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=WIFI"]];
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文