How to Link to Apps on the App Store

How to link to apps on the app store

Edited on 2016-02-02

Starting from iOS 6 SKStoreProductViewController class was introduced. You can link an app without leaving your app. Code snippet in Swift 3.x/2.x and Objective-C is here.

A SKStoreProductViewController object presents a store that allows the
user to purchase other media from the App Store. For example, your app
might display the store to allow the user to purchase another app.

From News and Announcement For Apple Developers.

Drive Customers Directly to Your App
on the App Store with iTunes Links
With iTunes links you can provide your
customers with an easy way to access
your apps on the App Store directly
from your website or marketing
campaigns. Creating an iTunes link is
simple and can be made to direct
customers to either a single app, all
your apps, or to a specific app with
your company name specified.

To send customers to a specific

To send
customers to a list of apps you have
on the App Store:

To send customers to a specific app
with your company name included in the

Additional notes:

You can replace http:// with itms:// or itms-apps:// to avoid redirects.

Please note that itms:// will send the user to the iTunes store and itms-apps:// with send them to the App Store!

For info on naming, see Apple QA1633:

Edit (as of January 2015): links should be updated to See QA1633 above, which has been updated. A new QA1629 suggests these steps and code for launching the store from an app:

  1. Launch iTunes on your computer.
  2. Search for the item you want to link to.
  3. Right-click or control-click on the item's name in iTunes, then choose "Copy iTunes Store URL" from the pop-up menu.
  4. In your application, create an NSURL object with the copied iTunes URL, then pass this object to UIApplication' s openURL: method to open your item in the App Store.

Sample code:

NSString *iTunesLink = @"itms://";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];


 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink] options:@{} completionHandler:nil];

Swift 4.2

   let urlStr = "itms-apps://"
if #available(iOS 10.0, *) { urlStr)!, options: [:], completionHandler: nil)

} else {
UIApplication.shared.openURL(URL(string: urlStr)!)

Where to find app url link in App Store Connect for beta app in the year 2019?

After updating new design of iTunes connect, apple has removed "View on App Store" button option to see your app link.

It's only display when your app is Approved by apple (first time). after it will always visible for that app.

Another option for us until apple will enable that option:{{appId}}


How to set an App Store link correctly?

You're correct that the web links are localised. However, if you click 'View in iTunes' from that link or indeed launch any link that opens iTunes then the user is taken to the product on the correctly localised version of the store. I've just tested it with the web link you give above — clicking 'View in iTunes' took me to your product on the UK store, with UK pricing.

The direct to iTunes link you supply doesn't work, but you seem not to have substituted your product id for the 99999999999 placeholder.

I'm not sure which you'd consider better; Apple seem to be pushing the web preview URLs, based on the new behaviour of right clicking and selecting 'Copy Link' while in iTunes itself. Also, the type of link that you expect to open iTunes, with your product id substituted (ie, now appears to go to the web preview rather than to open iTunes. As a quick tip, this appears to be the 'international' version:

i.e. just remove the 'us'. My browser still went to the US listing based on the price and reviews, but I'll bet it does something to at least get the display language correct.

Open AppStore through button

Here. But I highly suggest you learn the basics of Swift!

UIApplication.sharedApplication().openURL(NSURL(string: "itms://")!)

If you wanna open the AppStore in Swift 5:

if let url = URL(string: "itms-apps://") {

Create iOS link to an App in the app store - best way?

Ok, so have done a lot of research/testing and here is my conclusion:

  1. Links you use in your code should not rely on the 'current' name of you app, since this might change over time (e.g. Light Alarm Lite vs Light Alarm Free). Therefore the following 4 are out IMHO:



  2. That leaves itunes and phobos URLs. I have just tested both URLs via the iOS 6 share functionality (so this might be different on iOS 5, but given numbers are reducing daily for that I dont really mind). I tested accessing via SMS, Email, Facebook, Twitter (on an iPhone 5 and using a Mac).

Both url types produced near identical results, except for the following:

+ None
- Sharing this link on facebook created a facebook link without any image... this was the showstopper for me that will mean I use iTunes urls going forward (see below).

+ When opening link on iphone 'Mail' app the app store opened within the 'Mail' app and no tabs along the bottom appeared, so arguably this creates increased focus on your app
- None

In summary, I will be going with itunes type urls going forward. eg:

(Note: you don't have to stipulate the '/appName' in this url, just keeping it as '/appName/' works fine, which means you dont have to worry if you app name changes over time.

Cheers, Charlie

How do I get a link to AppStore app image?

Apple recently released a new tool that replaces itunes link maker. This tool can generates links to the app store image :

Link to list all apps by a developer in iPhone's App Store

For view Application page :

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://"]];
//APPNAME = Application name, idApp = Application unique id

For view App from the developer

 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://"]];
DEVNAME = Developer name in small chars, idDEVID = developer id, you can get it from iTunes.

Update 1

If you have your App Id then you can get your developer id like,

Run this in web browser, and in response search for artistViewUrl word, this will give you URL, that List all APPs from Same Developer

Just keep in mind that replace http to itms to stop redirection.

Update 2

List all app of a developer , from:{developername}.

Get our single app link, from: You can get this things when app get published.

May this helps.

HTH, Enjoy Coding!!

Related Topics

Leave a reply