ios - How to check if an app is installed from a web-page on an iPhone? -
i want create web-page, page redirect iphone app-store if iphone not have application installed, if iphone has app installed want open application. i have implemented custom url in iphone application have url application like: myapp:// and if url invalid, want page redirect app store. possible @ all? if don't have application installed on phone , write myapp:// url in safari, error message. even if there exists ugly hack javascript know? as far know can not, browser, check if app installed or not. but can try redirecting phone app, , if nothing happens redirect phone specified page, this: settimeout(function () { window.location = "https://itunes.apple.com/appdir"; }, 25); window.location = "appname://"; if second line of code gives result first row never executed. hope helps! similar question: iphone browser: checking if iphone app installed browser is possible register http+domain-based url scheme iphone apps, youtube , map...