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

ios7下评论的链接

2013-10-08 16:09 253 查看
ios7下评论的链接有所变化:

// 获取评论链接

+ (NSURL *)appCommentURLWithID:(NSString *)appID {

NSString *str = [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@", appID];

if (iOS7__) {

str = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@",appID];

}

NSURL *url = [NSURL URLWithString:str];

return url;

}

ax.itunes.apple.com这个在ios7下无效了~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐