苹果一直拒绝 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) | 阅读(127770)
anna Email
2020-3-20 17:31
本文页面的内容,我发现内容对我来说非常有趣和有用,谢谢分享 krunker scope image
anna91 Email Homepage
2020-3-27 10:37
This is a very interesting post and all the details are in this post are awesome. hotmail login
heenacruzl Email
2020-4-1 18:46
I think I have the same opinion as you. This is probably a coincidence.site
jinanluyu Email Homepage
2020-4-3 07:03
Jinan Luyu Charming beautiful version now stay in Bangalore town in my Private flat. My age is 23 years. I'm college girl. I'm open-minded and very friendly. Bangalore Escorts Service | Escorts in Bangalore | Bangalore Escorts Agency | [url=http://www.jinanluyu.com/]Bangalore Escorts
dgw
2020-4-5 13:11
淘宝空包、京东空包、拼多多空包购买就认准88快递单号网www.88danhaowang.com
Poorgirl Email Homepage
2020-4-9 15:59
Thank you for posting this helpful article, I have learned a lot of new issuesHappy wheels
Girlsgames Email Homepage
2020-4-9 16:02
I like new things from this site, it's very meaningful. I have found somethings interesting from your posts. Thanks!Run 3
sonuwaliya Email Homepage
2020-4-30 03:19
My self Sonu Waliya. I am excellent looking stunning model girl . My soft slim body . I love to satisfy new humans and strive new things. I am very sensual and flirtatious with charming personality! I love to snigger and my vivid smile is ever present. I guarantee you to have an unforgettable experience.http://www.sonuwaliya.com/
bernardkohdm Email
2020-5-6 21:01
The Avenue South Residence condo is now available for sale. Please check with me for more details about this Silat Avenue residence.
bernardkohdm Email
2020-5-6 21:03
The Avenir residence is now available at district 9 of Singapore. This River Valley condominium is popular among the foreign investors
bernardkohdm Email
2020-5-6 21:05
Dairy Farm Residences at Bukit Panjang area is now available for sale. This condo opposite the Hillview estate is near to the German International School and Hillview MRT station.
bernardkohdm Email
2020-5-6 21:06
Kopar At Newton sold 77 units on its launch weekend. Find out why this district 9 condo is so popular, especially among investors
JoEmily Email
2020-5-7 12:01
Do not just because of a few comments of others to underestimate themselves do not let because of a small mistake that denied a long way. Fun games for young children>> games for girls games for girls
bernardkohdm Email
2020-5-7 12:43
Are you looking for a change in career? Then why not attend our latest Property Agent Career Seminar to see how you can be successful in this industry.
bernardkohdm Email
2020-5-7 12:47
Penrose Condo and Clavon Condo are the 2 upcoming residential developments that we should keep an eye on for good investment opportunities.
bernardkohdm Email
2020-5-7 12:49
The Avenue South Residence Price list is out now! Buyers can review the prices to determine which level and stack is the most suitable for them. Contact the developer sales team for more info!
bernardkohdm Email
2020-5-7 13:11
Dairy Farm Residences Price List is now available for review. Contact your developer sales team for details
bernardkohdm Email
2020-5-7 13:15
Kopar At Newton Showflat is now available for viewing. Contact your developer sales team for more details.
bernardkohdm Email
2020-5-7 13:15
The Avenir Showflat is now ready for review. You can contact the developer sales team to find more information.
bernardkohdm Email
2020-5-7 13:16
Looking for a change in career? Join us for the Property Agent Career Seminar for tips on how to become successful in the industry
分页: 6/21 第一页 上页 1 2 3 4 5 6 7 8 9 10 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]