iOS跳转AppStore进行评分,看详情

***#pragma warning AppStore评分

static NSString *APPID = @"xxxxxxxxx";//进开发者账号看ID

//1.跳转到评论页面:itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@
//2.跳转到详情页面: itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@

NSString *appStoreUrl = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%@",APPID];

[[UIApplication **sharedApplication]openURL:[NSURL URLWithString:appStoreUrl]];

你可能感兴趣的:(iOS跳转AppStore进行评分,看详情)