问题描述
我想知道是否可以直接从另一个应用程序中启动 iPad 应用程序.例如,我是否可以编写一个登录页面,将您也带到一个桌面类型的页面,您可以在其中选择要运行的应用程序,然后启动该应用程序,比如一个新线程?我不确定这是否可行,我只是对新的 iOS 多任务功能的功能感到好奇.谢谢!
I was wondering if it was possible to launch an iPad app directly from within another app. For example, could I write a login page that takes you too a desktop type page where you can select an app to run, and then launch that app as say, a new thread? I am not sure this is possible, I am just curious about the capabilities of the new iOS multitasking features. Thanks!
推荐答案
这取决于您要启动的应用程序.其中一些注册的 URL 可以让您启动 itunes://之类的链接.看看这个:http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/StandardBehaviors/StandardBehaviors.html#//apple_ref/doc/uid/TP40007072-CH4-SW7一个>
It depends on the app you wish to launch. Some of them register URLs that let you launch links like itunes:// and the like. Check this out: http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/StandardBehaviors/StandardBehaviors.html#//apple_ref/doc/uid/TP40007072-CH4-SW7
重要的部分是题为实施自定义 URL 方案"的部分.
The important section is the one entitled "Implementing Custom URL Schemes".
这是一个网站的链接,该网站对现有应用的各种 URL 进行了分类:http://handleopenurl.com/一个>.
Here's a link to a website that catalogs the various URLs for existing apps: http://handleopenurl.com/.
这篇关于一个 iPad 应用程序可以直接启动另一个应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!