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下无效了~
// 获取评论链接
+ (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下无效了~
相关文章推荐
- 点击链接直接跳转到app store指定应用下载页面以及添加评论
- iOS评论页面 iOS7代码更新
- JS获取URL参数转发-可做转发博客评论链接.
- 提取网易的链接及链接名称 分类: python 小练习 正则表达式 2013-11-07 14:02 382人阅读 评论(0) 收藏
- scrapy框架爬取网易云音乐billboard榜所有排行歌曲、链接、评论存入数据库中
- 0415博客评论链接
- linu 链接脚本 分类: 嵌入式开发学习 2013-05-07 18:45 326人阅读 评论(0) 收藏
- 常用资源链接 分类: 图像处理 2015-04-07 11:41 98人阅读 评论(0) 收藏
- wordpress英文建站教程:将评论中带有长链接的评论标记为垃圾评论
- DEDECMS首页调用最新评论和评论链接地址静态化实现代码
- c++ 内部链接 外部链接 分类: 其他 2011-10-05 21:21 2323人阅读 评论(0) 收藏
- WordPress后台的文章、分类,媒体,页面,评论,链接等所有信息中显示ID并将ID设置为第一列
- 【链接】iOS7中容易被忽视的新特性
- HTMLParser解析网页,提取链接地址、标题名称,并插入数据库 分类: python 小练习 HTMLParser 2014-02-19 09:57 519人阅读 评论(0) 收藏
- ZT 感触的屌丝职场记 投递人 itwriter 发布于 2013-05-27 09:21 评论(18) 有3402人阅读 原文链接 [收藏] « » 作者@幻想哥呀幻想哥 有一位屌丝男,从小抱着报效祖国的理想上了大学,毕业后干了 IT 行业,高中那时候看文汇报说,搞 IT 的在上
- 程序内跳转appStore评论页面链接
- 改变HTML中超链接的显示样式 分类: C1_HTML/JS/JQUERY 2014-08-27 10:11 595人阅读 评论(0) 收藏
- wordpress评论链接转跳的一些思考:判断链接来源的合法性
- CSDN评论中插入链接