iOS APP跳转AppStore评论

1.跳转到应用评价页

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

[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:urlStr]];


2.跳转到应用详情页

NSString*urlStr = [NSStringstringWithFormat:@"itms-apps://itunes.apple.com/app/id%@",APPID];

[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:urlStr]];

你可能感兴趣的:(iOS APP跳转AppStore评论)