您的位置:首页 > 移动开发

How Can I Launch The Appstore App Directly from my Application

2010-08-11 17:10 507 查看

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
answered Oct 22 '08 at 20:07



Marco
2,1021317

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
answered Jan 13 '09 at 1:56

community wiki

matt

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
answered Sep 3 '09 at 17:18



epatel
12.3k82347

up vote 1 down vote
If you do not want to get the link for iTunes you can do this.

select your app in AppStore

click the Tell A Friend button in the top right.

email the link to yourself

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

link|flag
answered Nov 5 '08 at 21:07



Jamey McElveen
1,1041239

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
answered Aug 3 at 4:25



Annette
4114

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐