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

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




技术大类 » 移动互联网与手机 | 评论(151) | 引用(0) | 阅读(86137)
panistefanin Email
2020-10-14 20:22
Dziękuję za informacje! Szukałem i nie mogłem znaleźć. Pomogłeś mi! msvcp140msvcp140
garcia Email
2020-11-5 01:06
This is very nice site like https://connect.garmin.com/
garcia Email
2020-11-5 01:07
garcia Email
2020-11-5 01:09
garcia Email
2020-11-5 01:10
IT allows you to update your garmin device,to properly update your device, install the Garmin Express app on your computer. https://sites.google.com/view/garmin-nuvi-1300-update/
garcia Email
2020-11-5 01:11
garcia Email
2020-11-5 01:12
Chat icon on the website is available for instant help.Roku is a line of digital media players manufactured by American company Roku https://sites.google.com/view/site-roku-com-link-/
rss Email Homepage
2020-11-11 19:20
What a great content for beginners as well as all levels of freelancers. This is a very important article to support the desperate people and make them thorough with the contemporary happening.<a href="https://naxontech.com/2020/11/11/realme-7-5g-tipped-as-rebranded-realme-v5">realme-7-5g-tipped</a>
chipcha Homepage
2020-12-11 15:34
I really enjoyed this site. This is such a Great resource that you are providing and you give it away for free. happy wheels
dorcassmith Email Homepage
2020-12-22 17:14
Students find college application writing services as being of great assistance since they are able to seek our college admission writing services and personal statement writing services on time.
mdmusie
2021-1-13 16:16
Look very delicious !!! I want to eat all of these the first time I see them. Thank you for sharing shell shockers unblocked
分页: 8/8 第一页 上页 3 4 5 6 7 8 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]