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

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




技术大类 » 移动互联网与手机 | 评论(483) | 引用(0) | 阅读(135948)
Software Testing training Email Homepage
2020-5-15 16:46
Amazing post! Write more.. Really like and follow your site seriously! RPA Training in Chennai| Software Testing Training in Chennai | SAS Training in Chennai |
Ria Email Homepage
2020-6-5 15:28
Can’t wait for your next post. Really interesting to read. Great Job!Python Training in Chennai| Data Science Training in Chennai | AWS Training in Chennai|
E-commerce Essay Writing Services Email Homepage
2020-6-12 12:25
Online e-commerce essay writing help services are very common nowadays since there are very many students seeking E-commerce Essay Writing Services and e-commerce research paper writing services. E-commerce Essay Writing Services
Law Research Writing Services Email Homepage
2020-6-19 19:39
Online law research paper help services are very common nowadays since there are very many students seeking Law Research Writing Services and law essay writing services. Law Research Writing Services
Lauren
2020-7-7 13:46
I am cv writer at CV Folks and serving best cv https://www.cvfolks.co.uk/construction-cv/ and cover letter writing service in UK with eye catching format and timed delivery promise.
Ida Wallace
2020-7-8 17:09
Glad to offering Australia’s best assignment service for an academic students to complete their different subjects assignment http://www.assignmenthelpfolks.com/human-resource/ before deadline with good quality work.
Jack
2020-7-17 13:03
Thanks for sharing with us useful information regarding Disable link long-press pop-up effect in UIWebView. Keep sharing!Regards, Jack.  http://www.qualitydissertation.co.uk/business-dissertation-help/
Deff
2020-7-17 15:29
Guys, did you see a new Witcher trailer? It looks really awesome, right?
Alex
2020-7-17 15:31
Why I have to be ashamed, everyone else is doing it. Why should I be only exception here?Texttwist
truc tiep bong da Email Homepage
2020-7-23 16:29
I would like to ask you to enlarge this writing truc tiep bong da
Creative Assignment Writing Services Email Homepage
2020-8-13 15:34
Professional Creative Assignment Writing Services is very popular for students in search of creative essay writing services and custom creative writing services.
arknic2607 Email Homepage
2020-8-18 17:57
Searching for this very long time. Found exact solution through this blog.Datascience Training in Chennai|AWS Training in chennaiAWS TRAINING IN CHENNAI
Seo-Yun Email Homepage
2020-8-26 20:12
So additionally a tip on the betting internet betting website. With the fast innovation that has arrived at the Indonesian online Totojitu lottery, the web association has made individuals more capable at running cases effortlessly. The historical backdrop of web based betting destinations just started after 8togel online programming and programming were modernized alongside the web arrange. https://korean-drama-list.com/
irfanali Email Homepage
2020-8-30 08:45
Bigg Boss 14 Full Show All Episde in HD Today Latest Episode New, Watch Indian Most Famous Reality Show In HD  Bigg Boss 14 New Season 2020,Host Salman Khan Bigg Boss House Ful HD by Colors Tv<a href="https://biggboss14new.com//all-episodes/">Bigg Boss 14 </a><a href="https://biggboss14new.com/author/colorstv/">Bigg Boss 14 Watch All Episodes Online HD</a>Thanks for sharing such a nice stuff
jeff Email Homepage
2020-9-3 16:44
Amazing and Interesting things to read and learn. Its amazing to find something interesting and cool. Enjoy shayari and  and share them.motivation shayari
couponswebdeal Email Homepage
2020-9-8 16:23
That are the issue for every iphone user for pop up effect. Discount Code for shopping
pikabo Email Homepage
2020-10-6 16:38
Great article. Couldn’t be write much better!Keep it up!   pickabo
Seo-Yun Email Homepage
2020-10-13 18:47
So likewise tips on web based betting destinations. Quick innovation that has arrived at the Togel Totojitu online Indonesia, web association has made individuals more talented to do things without any problem. The historical backdrop of web based betting locales just started after 8togel online programming and equipment innovation was modernized alongside the web organization.
Seo-Yun Email Homepage
2020-10-13 18:50
So likewise tips on web based betting destinations. Quick innovation that has arrived at the Togel Totojitu online Indonesia, web association has made individuals more talented to do things without any problem.
Zhang Wei Email Homepage
2020-10-13 18:51
The website you share is very good.
分页: 7/25 第一页 上页 2 3 4 5 6 7 8 9 10 11 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]