2

i have a application which has 2 parts one is a webview and other is a native iphone application. I want to invoke a native iphone application from a website inside a webview.

Himanshu
  • 431
  • 1
  • 5
  • 6

2 Answers2

1

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.

monowerker
  • 2,951
  • 1
  • 25
  • 23
0

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

Jasarien
  • 58,279
  • 31
  • 157
  • 188