You can do it yourself with any server platform - Rails, PHP, Dot.Net, etc.
Here is a very simple PHP snippet. Replace "myappname" with the URL scheme of your application. The param / value request is optional - you can use any other text and parse it in your applicationβs openUrl method.
if (strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone OS') !== FALSE) {
header("location: myappname://?key=value");
exit();
}
Customer Use Options:
- iOS Safari, your application is installed - it will open your application.
- Safari iOS, your application is not installed - Safari will complain that it cannot open the link.
- Another iOS application, your application is installed - it will switch to your application.
- Another application for iOS, your application is not installed - the same as Safari. However, if another application implements UIApplication canOpenURL: - it can gracefully select a user in the App Store, but it depends on the other application developer.
- - , html, AppStore.