开发者

how to invoke a iphone native application from webview

i have a application which has 2 parts one is a webview and other is a native iphone application. I want to invoke a nativ开发者_如何学Pythone iphone application from a website inside a webview.


If by webview you mean a webpage that you open in Mobile Safari you can link to your native iPhone app by registering a custom URL scheme for your app.

http://www.idev101.com/code/Objective-C/custom_url_schemes.html has a fairly clear description on how it's done.


If you mean opening something like Mail or SMS from within your app, then you can use a URL like sms:// or mailto:

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜