Direct “rate in iTunes” link in my app?

5 Solutions Collect From Internet About “Direct “rate in iTunes” link in my app?”

Answers here are outdated.

This works on my end (Xcode 5 – iOS 7 – works only on Device, not simulator!):


For versions lower than iOS 7 use the old one:


This IS possible using the technique described on this blog:

basically you call UIApplication openURL with the following:

NSString* url = [NSString stringWithFormat: @"itms-apps://", myAppID];
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];

To get your app ID before your app is available in the app store, use iTunesConnect to define your new app – give it a name, description, icon, screenshots, etc. Once defined, you can get the Apple ID from the Identifiers section for the app.


Here is a secondary url/method that works:

NSString* url = [NSString stringWithFormat:  @"", appid];

[[UIApplication sharedApplication] openURL: [NSURL URLWithString: url ]];

I believe the difference between the two is that the first technique (itms-apps://) will launch the App Store app directly while the second one (http://) will launch it indirectly via a redirect resulting from the http web URL. This would have to be confirmed; this is only my recollection.

Simple method that I am using is;

 -(void)rateApp {

     [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[@"itms-apps://" stringByAppendingString: @"id547101139"]]]; }

You can also use SKStoreProductViewController as an alternative. It will open the store in your app. You may like it better than opening another app, especially on iPads.

Thanks to Ahment swift version:

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