iPad应用可以直接启动另一个应用吗? [英] Can an iPad app directly launch another app?
问题描述
我想知道是否可以直接从另一个应用程序中启动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".
编辑:这是一个链接到为现有应用编制各种网址的网站: http://handleopenurl.com/ 。
Here's a link to a website that catalogs the various URLs for existing apps: http://handleopenurl.com/.
这篇关于iPad应用可以直接启动另一个应用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!