tags:

views:

332

answers:

1

Hello,

This sounds odd. In fact, it sounds like a security risk to me. However, I would swear that I have seen web pages that you can click a link on and it opens the app store on the iPhone.

My question is, is it possible to launch any application from through a web page? Can parameters be passed to the application? I do not need technical details. I'm just curious if it is possible.

Thank you,

+2  A: 

Yes. From Control and configuration of applications through Info.plist - Invoking your iPhone application by URL:

Invoking your iPhone application by URL

The CFBundleURLTypes key allows you to specify URL schemes that will cause the iPhone to switch to your application. No, you can't override the schemes for the built-in applications.

If your application is launched using a URL type named scheme, then you can also provide a different startup image "Default-scheme.png" instead of the regular "Default.png".

See iPhone file extension app association for more details.

Benedict Cohen