iOS应用跳转到App Store评分

iOS应用跳转到App Store评分

1.跳转到应用评价页

NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@&pageNumber=0&sortOrdering=2&mt=8", APPID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];

2.跳转到应用详情页

NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", APPID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];

appid是在iTunesConnect创建应用时自动生成的ID,如下图

posted @ 2017-03-14 15:04  Chaos_G  阅读(422)  评论(0编辑  收藏  举报