APP跳转AppStore
2017-06-20 本文已影响0人
Sunsgne丶D
//去评分
NSString *APPID = @"your appid";
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]];
//详情
NSString *urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", APPID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlStr]];