从iPhone应用程序中启动指南针应用程序 [英] Launch the compass app from within iPhone app

查看:53
本文介绍了从iPhone应用程序中启动指南针应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过以下方式从我的应用程序中启动指南针:

I'm trying something like this to launch the compass from within my app:

    NSString *stringURL = @"compass://";
    NSURL *url = [NSURL URLWithString:stringURL];
    [[UIApplication sharedApplication] openURL:url];

有人知道启动指南针应用程序使用的正确网址吗?

does anyone know the correct url to use to launch the compass app?

http://wiki.akosma.com/IPhone_URL_Schemes -我使用它作为参考,但是关于指南针被张贴.

http://wiki.akosma.com/IPhone_URL_Schemes - I'm using this as a reference, but nothing about the compass is posted.

感谢您的帮助.

推荐答案

快速浏览Compas.app的Info.plist不会显示自定义URL类型的声明,这意味着没有公共方法可以从您的应用程序中打开它

A quick look at Compas.app's Info.plist shows no declaration of custom URL type, which means there is no public way to open it from your app, sorry.

这篇关于从iPhone应用程序中启动指南针应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆