海神


让用户在应用中进入 App Store 打分的代码

2011-08-19
#appstore

App Store 上评论的链接地址是 itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id = appID

所以可以用这段代码:

NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d", m_appleID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

blog comments powered by Disqus