您的位置:首页 > 移动开发

程序点击跳转Applestore 评论页面

2015-11-12 15:39 211 查看
NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=这里是你的appID" ];

if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)){

str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id这里是你的appID"];

}

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];

写到button的点击事件里就可以 记得改appID 模拟器没作用 要用真机测试
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: