iOS应用内跳转App Store进行评价
2018-05-22 本文已影响0人
jimmywife
其实实现iOS应用内 跳转到App Store里进行评价App 很简单,只需要几行代码就搞定了:
1.跳转到App Store应用评价页:
NSString * urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com
/WebObjects/Mzstore.woa/wa/viewControllersUserReviews?type=Purple+Software&
id=%@pageNumber=0&sortsOrdering=2&mt=8",APPID];
[UIApplication shareApplication] openUrl:[NSURL urlWithString:urlStr];
2.跳转到App Store应用详情页:
NSString * urlStr = [NSString stringWithFormat:@"itms-apps://itunes.apple.com
/app/id%@",APPID];
[UIApplication shareApplication] openUrl:[NSURL urlWithString:urlStr];