进入appstore评分页面
NSString *strUrl = nil;
NSString *addressOnePart = @"itms-apps://ax.itunes.apple.com/WebObjects";
NSString *addressTwoPart = @"/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=";
float version= [[UIDevice currentDevice].systemVersion floatValue];
if (version >=7.0)
{
strUrl = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@", @"appId"];
}
else
{
strUrl = [NSString stringWithFormat:@"%@%@%@",addressOnePart,addressTwoPart,@"appId"];
}
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:strUrl]];