开发者

How to launch an iPhone application

I know launch an applica开发者_开发问答tion may via touch ico on the desktop. And is it start by its plistfile? Is there any other way to launch app?


Register a "protocol" for your application and the iPhone OS will automatically execute your application when a link with that protocol is clicked. For instance all links with "http://" (http protocol) at the start of the link will execute the Safari browser. Links starting with "fb://" will start the Facebook application etc.


Use your own custom URL scheme:

Guide

It's located in the .plist file (if the application has it)


There is no public API to launch arbitrary applications. You can launch applications that have registered for a custom URL scheme like explained in another answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜