App Store上我的应用程序的链接是什么?我只想输入App ID。
[[UIApplication sharedApplication]
openURL:[NSURL URLWithString:@"???"]];
答案 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]]];