
在iOS7以前,评分地址如下
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=897504228
在iOS7以后,评分地址去除了ax修改为
itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=897504228
那么我们如何获取id号呢,请看下图

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=897504228"]];
就会显示出评论的界面了如下图,怎么样?是不是很简单
以下我封装了一个库,在这里贴上部分代码,可以方便你直接进行调用
当然了,你还需要下载我的代码 https://github.com/149393437/AppraiseDemo
#pragma mark block实现代码 注意需要真机测试
[[iRate sharedInstance]showAlertWithStoreID:897504228 BundleID:@"com.zc.weichat" MessageTitle:@"小苍冰天雪地360°跪求一个好评" Message:@"小苍如此辛苦的写应用,恳求大人您可怜可怜我,给我一个好评吧,么么哒