链接到App Store

时间:2010-08-25 19:53:38

标签: iphone app-store itunes hyperlink

App Store上我的应用程序的链接是什么?我只想输入App ID。

[[UIApplication sharedApplication]
 openURL:[NSURL URLWithString:@"???"]];

1 个答案:

答案 0 :(得分:2)

NSString *idString = @"380886386";
NSString *countrtyString = @"us";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://itunes.apple.com/%@/app/id%@?mt=8", countrtyString, idString]]];