NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=xxxx" ];
if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)){
str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/xxxx"];
}
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
iOS 跳转到appstore
最新推荐文章于 2021-06-04 11:07:44 发布