苹果一直拒绝 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;}

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


技术大类 » 移动互联网与手机 | 评论(53) | 引用(0) | 阅读(48191)
kitty Email Homepage
2013-5-9 15:25
I m glad that heard to hear from you.I think you should study history and chemistry hard.Because,because as a student,you will joinhave to take the final exam Cartier glassesCartier glasses
绿色年华
2013-5-31 20:27
写的很详细
男技师SPA15026982220 Homepage
2013-6-1 22:04
海阔天空男技师SPA娱乐会所男子保健会馆是集男子 美容,男性SPA水疗,男性精油香薰, 男性保健等众多专业服务项目为一体的男士康体娱乐会所。 联系电话:15026982220 【杨姐】 http://www.itbude.com/
django Email Homepage
2013-11-30 19:44
Uggs Sale the ideal idea Coach Outlet Online  enough time to search for many of reduction Ugg boot. Like big portions? If you began ready your apartment, Coach Outlet  it's always best to consider the most effective way direct to the stage it could be to utilise your inventory throughout Coach Factory Outlet  concern, or maybe you basically won't destination stuff not enough.we're anti- whitening tray because Coach Outlet Online  i will be enjoy just get germ dog breeders
lvshi Homepage
2014-1-10 16:41
不错哦,哈哈
abc Homepage
2014-1-10 16:42
Thanks For the great share. I like it.
abc Homepage
2014-1-10 16:42
Thanks For the great share. I like it.
ros
2014-2-25 14:10
Great blog. All posts have something to learn. Your work is very good and i appreciate you and hopping for some more informative posts.
IDRpoker.com Agen Texas Poker Online Indonesia Terpercaya | IDRpoker.com Agen Texas Poker Online Indonesia Terpercaya | Alfamart official partner merchandise FIFA piala dunia Brazil 2014
胶水 Homepage
2014-7-29 13:41
这样子也行,谢谢分享
www.sod8.net Email Homepage
2014-10-12 09:54
不错,学习了,这个css真的太强大了!哈哈哈哈!www.sod8.net
Steven Email Homepage
2015-3-19 02:16
Thank you for this post Weight Loss Tea
steven Email Homepage
2015-3-20 05:26
分页: 3/3 第一页 上页 1 2 3 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]