How Can I Launch The Appstore App Directly from my Application

来源:互联网 发布:网络欺诈案例 编辑:程序博客网 时间:2024/05/22 06:05

How Can I Launch The Appstore App Directly from my Application

up vote 4 down vote

Ben Gottlieb is right, but there's a faster way to get the URL: You can right-click on any application icon in iTunes and select "Copy iTunes Store URL".

Then call UIApplication openURL on it.

link|flag
 
  
up vote 2 down vote

Make sure it says "phobos.apple.com" and not "itunes.apple.com"

The former opens the App Store directly, while the latter will open MobileSafari first, then the App Store.

link|flag
 
  
up vote 2 down vote

I figured out how to get straight into the review page for an app in the AppStore.

Basically it's done like below, feel free to read my blog post about it.

- (IBAction)gotoReviews:(id)sender {     NSString *str = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa";     str = [NSString stringWithFormat:@"%@/wa/viewContentsUserReviews?", str];      str = [NSString stringWithFormat:@"%@type=Purple+Software&id=", str];      // Here is the app id from itunesconnect     str = [NSString stringWithFormat:@"%@289382458", str];       [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]]; } 
link|flag
 
  
up vote 1 down vote

If you do not want to get the link for iTunes you can do this.

  1. select your app in AppStore
  2. click the Tell A Friend button in the top right.
  3. email the link to yourself

I have had this work at time the iTunes link would not.

link|flag
 
  
up vote 0 down vote

If you are just releasing your app... you won't have an "app ID #" yet... so none of those methods will work.

I had to insert a "non-working link" in my v1.0... and then later in my v1.1 update... added the actual link and app ID #.

link|flag
 
  
原创粉丝点击