Skip to content Skip to sidebar Skip to footer

Create A Link That Either Launches Ios App, Or Redirects To App Store

Possible Duplicate: Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps? I have a custom URL scheme for my iOS app, and I want to be

Solution 1:

 window.launchsockPicker = function() {
       setTimeout(function() {
        window.location = 'http://myDomain.com/install-app.cfm'
       }, 500);

       window.location = 'myApp://?context=someVariableIfNeeded';
   };

Solution 2:

There is no good way to achieve this. You can launch an app via a URL but there is no way to test whether an app is installed first.


Post a Comment for "Create A Link That Either Launches Ios App, Or Redirects To App Store"