苹果一直拒绝 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) | 阅读(48190)
jj89757hhb
2012-11-10 22:10
这么说以后HTML5在ios开发中不会使用吗?
kong0013 Email Homepage
2012-11-20 10:24
The North Face Waist Bag are the pretty styled The North Face Outlet waist bags which would make you feel satisfied. With lean zippered pocket at front, the North Face Bag is also featured with mesh pocket at left side and open pocket at right side for bottle holding that make the bags practical for you. And in cold winter days, you may also need the North Face Coats for proven.
Wholesale Snapback Hats Email Homepage
2012-11-24 14:18
New era cap Wholesale Snapback Hats is the largest growing MLB Snapback Hats headwear manufacturer
mro Homepage
2012-11-26 10:35
其实还是蛮好的呀
kimisha Email
2012-11-26 16:24
The best advice is this:  Don't take advice and don't give advice.  ~Author Unknown

salwar kameez
SteveBrad Email
2012-12-2 18:32
Well, this is so nice to think about leaving comment here. Nice to meet you all. | Buy Generic Viagra | | Cheap Generic Viagra |
birkenstock sale Email Homepage
2012-12-7 13:16
The birkenstock arizona sandals is one of the most fashional birkenstock sale shoes. They are stylish and comfortable. Shop birkenstock australia sandals with deep discount online.
天津装饰 Homepage
2012-12-10 09:16
这个是该禁用的呀
firefox
2012-12-23 09:03
学习了。
消费导航 Email
2012-12-24 09:32
这个感觉我很喜欢
新世纪娱乐城 Email Homepage
2012-12-26 23:28
很好,学习了
新世纪娱乐城 Email Homepage
2012-12-30 11:00
不错,学习了
Maple   Story mesos Email Homepage
2013-1-20 17:15
I’ve seen progression in every post. Your newer posts are simply wonderful compared to your posts in the past. Keep up the good work.We are offering the buy maplestory mesos to our clients and other online Gold, offered free with your order. Nowhere else can you find such a dirt sale! Join us and get yours.Keep an eye on our special sale everyday.
Henery Email Homepage
2013-2-2 18:34
This is something informative post for me and useful also>please keep such kind of the information in the future also.I will copy this link and paste as my Facebook status.Thanks for the share......:)

Generic Viagra | Buy Generic Viagra | Generic Viagra Online
ewa
2013-2-8 17:38
A healthy diet is not about strict nutrition philosophies, staying extremely thin, or depriving yourself of foods you love. Rather it is to get that good to have more energy and you keep healthy as possible.local movers dc
ewa
2013-2-8 18:29
Certainly a fantastic piece of work ... It has relevant information. Thanks for posting this. Your blog is so interesting and very informative.Thanks sharing. Definitely a great piece of work Thanks for your work.movers washington dc
zhfish Homepage
2013-3-26 14:01
这是需要注意的地方.谢谢LZ
丰禾棋牌 Homepage
2013-4-2 14:30
看看app store审核还是蛮仔细的
Damodaragouns
2013-4-24 09:00
The battery life is very important for the Bluetooth headset, good Bluetooth monster beat studio headset can reach 6-8 hours of talk time and standby time of up to a week, even with a car charger to facilitate the timely charge.
Chandrakalas Homepage
2013-5-6 08:37
Both sunglasses, and instantly change the color of the lens face shape choose warm colors, can play a role to reconcile the yellowish color; On the contrary, the cool colors of Oakley sunglasses On Sale lenses and partial yellow skin color contrast, make the skin look more yellowOakley sunglasses On Sale
分页: 2/3 第一页 上页 1 2 3 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]