How to call native iphone app from webview

I have an application that has 2 parts, this is webview and the other is the native iphone application. I want to call a native iphone application from a website inside a webview.

+2


source to share


2 answers


If by webview you mean the web page you open in Mobile Safari, you can link your own iPhone app by registering a custom URL scheme for your app.



http://www.idev101.com/code/Objective-C/custom_url_schemes.html has a pretty clear description of how this is done.

+1


source


If you want to open something like Mail or SMS from your application, you can use a URL like sms: // or mailto:



0


source







All Articles