Reputation: 1205
I can only find secondary sources of information about itms-apps scheme from Stackoverflow and HandleOpenUrl.
Is there any official documentation saying how to use itms-apps or who maintains it?
Upvotes: 4
Views: 14005
Reputation: 424
I just tried this and it works on iOS9:
itms-apps://itunes.apple.com/app/idID_OF_YOUR_APP
and it will open the app directly in the store.
Upvotes: 2
Reputation: 1269
This link has the answer from apple Technical Q&A. Creating easy-to-read short links to the App Store for your apps and company and Launching the App Store from an iPhone application
The second link comes from the page of the first link. I think it completes your request.
In a nutshell,
NSString *iTunesLink = @"http://itunes.apple.com/us/app/id{your app id}?mt=8";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];
Upvotes: 0
Reputation: 16524
handleOpenURL has been deprecated. Use the application:openURL:sourceApplication:annotation: method instead. Reference: https://developer.apple.com/library/ios/documentation/uikit/reference/UIApplicationDelegate_Protocol/Reference/Reference.html
Then this following link tells about how to launch the App Store from an iPhone application: Launching the App Store from an iPhone application
Upvotes: 0
Reputation: 14918
From the source from Nick Lockwood's iRate project:
iOS6 (and earlier):
itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=
iOS7:
itms-apps://itunes.apple.com/app/id
You have to just append the app ID to the strings above to complete the URL.
AFAIK there is no official source of this information, it has probably been reverse engineered.
Upvotes: 9