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

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


技术大类 » 移动互联网与手机 | 评论(78) | 引用(0) | 阅读(60269)
HONEY Email
2018-12-21 15:32
Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for meoutlook entrar
alice F taylor Email
2018-12-21 15:33
Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for meoutlook entrar
alice F taylor Email Homepage
2018-12-21 15:34
Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for meoutlook entrar
lindarse Email
2019-1-4 16:53
This is a great article. It gave me a lot of useful information. thank you very much. Sushi Cat 2
daisy
2019-2-18 13:00
Thanks for all your information, Website is very nice and informative content.Super Smash Flash 2
HANNA
2019-2-18 13:01
Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further writeFleeing The Complex
LUCAS
2019-2-18 13:02
This is also a very good post which I really enjoyed reading. It is not everyday that I have the possibility to see something like this.Its really good information, i like your blog post. Thanks for sharingstrike force heroes 3
LUCAS
2019-2-18 13:03
I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing.Happy Wheels
MAISY
2019-2-18 13:03
I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing.This is also a very good post which I really enjoyed reading. It is not everyday that I have the possibility to see somethingkissmanga
run3 Email
2019-4-26 11:00
The content of your article is very interested, I am very impressed with your article. I hope to receive more interesting articles to share with us.Temple run
run3 Email
2019-4-26 11:01
The content of your article is very interested, I am very impressed with your article. I hope to receive more interesting articles to share with us.Temple run
run3 Email
2019-4-26 11:13
Disabling the link inside UIWebView and clicking and turning on you share very well and useful with me and many others, hoping that in the near future you will have more interesting and interesting articles.vex 3
ubaid5946 Email Homepage
2019-5-17 01:57
This is a mistrust to which there is not a apart answer. Namely, it all depends on the penis enlargement selection that you choose. In requital for instance, no one can articulate that penis enlargement surgery is risk-free.<a href="https://bestmoviecast.com/just-add-magic-season-4-cast-episodes/">Just Add Magic Season 4 Cast</a>
ubaid5946 Email Homepage
2019-5-17 01:58
It is a surgery and you are administered anaesthetics in organization to frequent to sleep. There are also other dangers tangled with this type of surgery. Penis pumps and penis exercises are notorious representing their being unsafe as they are not tested and they possess resulted in some crucial cases in the past.Killing Eve Season 2 Cast
Michael Jordan Email Homepage
2019-5-19 14:03
Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing.   Great websites!
sabrinemosbi
2019-5-25 22:51
What is nice about YouTube is that they accept a wide variety of different videos, all on different topics, issues, and subjects. megadede
run4 Email
2019-5-29 18:16
The website you share is very good. I have found many useful and helpful information for me. Thank you very much.Temple run
netterku Email Homepage
2019-8-28 09:45
Jadi juga tip di laman judi online judi perjudian. Teknologi pesat yang telah mencapai togel totojitu online Indonesia, sambungan internet telah menjadikan orang lebih mahir menjalankan perkara dengan mudah. Sejarah laman perjudian dalam talian hanya bermula selepas 8togel online teknologi perisian dan perkakasan dimodernisasi bersama dengan rangkaian internet.
分页: 4/4 第一页 上页 1 2 3 4 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]