18

Apple recommends an itms:// link for native applications linking to the app store, however a link such as the following ends up opening itunes first, then redirecting to the app store:

itms://itunes.com/apps/Reactors

How do you open the app store directly with no redirects to iTunes or Safari? It appears that even the usage of phobos.apple.com is being depreciated.

On fast devices it can take several seconds to animate the native app away, animate itunes in place, find the redirect, animate itunes away, animate the app store in place, and find the app. It makes the app seem poorly designed to have all that page flipping occur before bringing the user to what they requested.

Example code:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.com/apps/Reactors"]]
Adam Davis
  • 91,931
  • 60
  • 264
  • 330

2 Answers2

26

Instead of using "itms://" use "itms-apps://".

Community
  • 1
  • 1
klotz
  • 1,951
  • 2
  • 22
  • 27
  • 3
    Deprecated. The SO answer klotz links to has been amended. Starting with iOS 5 you use the web url http://itunes.apple.com/app/id1234567 (the App Store ID) and it intelligently deeplinks directly to the App Store app, rather than bouncing through Safari/iTunes. – Noach Magedman May 02 '13 at 13:59
3

This has already been answered within a different thread, but the easiest way is to simply use Apple's Link maker at http://linkmaker.itunes.apple.com/us/