Let an iPhone user know they can access your content via their device

Here's how:

1. Check if the user-agent matches an iPhone/iPod Touch

2. Check for an appInstalled cookie

3. If the cookie exists and is set to true, set window.location to your-uri:// (or do the redirect server side)

4. If the cookie doesn't exist, open a “Did you know this site has an iPhone application?” dialog with a “Yes, already got it”, “No, let's try it” or a “Leave me alone” button.

http://stackoverflow.com/questions/1108693/is-it-possible-to-register-a-httpdomain-based-url-scheme-for-iphone-apps-like/1109200#1109200

Leave a Reply

Your email address will not be published. Required fields are marked *