ios跳转appstore评论页面_html/css
来源:动视网
责编:小采
时间:2020-11-27 16:04:12
ios跳转appstore评论页面_html/css
ios跳转appstore评论页面_html/css_WEB-ITnose:iOS7以前是这样的: NSString * nsStringToOpen = [NSString stringWithFormat: @itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviewstype=Purple+Software&
导读ios跳转appstore评论页面_html/css_WEB-ITnose:iOS7以前是这样的: NSString * nsStringToOpen = [NSString stringWithFormat: @itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviewstype=Purple+Software&

iOS7以前是这样的:
- NSString * nsStringToOpen = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@",nsAppId ];
-
- [[UIApplication sharedApplication] openURL:[NSURL URLWithString:nsStringToOpen]];
iOS8以后那样是没有反应的,只能这样才行
找到应用程序的描述链接,比如:http://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719?mt=8"]];
ios跳转appstore评论页面_html/css
ios跳转appstore评论页面_html/css_WEB-ITnose:iOS7以前是这样的: NSString * nsStringToOpen = [NSString stringWithFormat: @itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviewstype=Purple+Software&