苹果一直拒绝 UIWebView 内嵌 HTML5 页面的 iPhone、iPad APP应用上架到 App Store,建议这样的APP去做成Safari的Web应用。但是,苹果的审核人员只从界面、URL去判断是否HTML5的。有一次,一个 APP应用的URL地址被他们拷贝出来,放到浏览器中能够访问,然后,应用悲催地被拒绝上架了。

  对付方法:

  1、URL不让直接通过浏览器访问(UIWebView的请求Header头中加点东西,在服务器端将APP内嵌的访问和通过直接浏览器访问区分开来),或者通过浏览器访问时,返回JSON、XML信息,输出“Interface Error”,忽悠苹果审核人员说这是HTTP协议的接口,不是网页。

  2、禁用、禁止 UIWebView 里面的链接长按弹出效果。加入一行 CSS 代码,禁用类似下图的链接长按弹出效果:
html,body{-webkit-touch-callout: none;}

  点击在新窗口中浏览此图片




技术大类 » 移动互联网与手机 | 评论(407) | 引用(0) | 阅读(127475)
不锈钢合页 Email Homepage
2012-9-26 10:09
学习到了很多东西!谢谢分享!
Dadait Email Homepage
2012-9-26 18:08
原来还可以这样。
帅哥
2012-9-27 17:58
学习了 正适用的内容
不锈钢合页 Email Homepage
2012-10-2 15:47
很好的文章,很喜欢,希望楼主能多写点!
眼镜偏光 Homepage
2012-10-2 20:11
不错 学习了
不锈钢合页 Email Homepage
2012-10-8 11:51
好文章,学习学习!
资料下载我看有点行 Homepage
2012-10-12 08:21
不错,这方法,正用的上呢
north face coats Email Homepage
2012-10-13 14:07
comes in bonfire and black colours and might be stuffed and north face coats ike a sleeping bag to your convenience. Marmot has its personal tailor and tailor machine, also as a fairly superior system. At 1st, the group of Marmot usually meet the pioneers of field exploration and outside adventure to listen to their suggestions. And right after that, the group will verify and analyse the data and connected information. At last, they will style new scheme to resolve the new complications by continuously exploration and discussion.
不锈钢合页 Email Homepage
2012-10-22 08:56
写的太好了很喜欢看这样的文章
常德招聘 Homepage
2012-10-22 11:12
不错,这方法,正用的上呢
常德招聘
2012-10-22 11:13
融资 Email Homepage
2012-10-29 09:39
不错不错谢谢分享啊
融资 Email Homepage
2012-10-29 09:39
不错哦,哈哈
融资
折弯机模具 Email Homepage
2012-10-29 09:55
小韩手表网 Email Homepage
2012-10-30 01:10
很不错的文章 学习了  手表品牌大全
廿九
2012-10-30 11:49
我们的文章页是UIWebView 审核没问题
稻草人 Homepage
2012-10-31 08:55
SteveBrad Email
2012-10-31 18:20
Thanks For the great share. I like it. | Generic Viagra |
Coach Email Homepage
2012-11-3 14:27
"The Coach Outletengines that will likely power the J-31 we do know a bit mor.Coach Outlet  Those engines were actually revealed at the Zhuhai showCoach Outlet in 2008," Fisher said referring to an annual China air show. He beCoach Outletlieves the new J-31 engine is undergoing preliminary
站元素博客主机 Homepage
2012-11-7 18:08
感谢楼主分享
分页: 1/21 第一页 1 2 3 4 5 6 7 8 9 10 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]