苹果一直拒绝 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) | 阅读(135986)
kinsar Email Homepage
2023-7-31 15:20
https://kinnsernet-login.info/bill-miller-wellsky/<a href="https://kinnsernet-login.info/bill-miller-wellsky/">kinnsernet-login.info/
메이저사이트 Email Homepage
2023-8-3 15:02
You should be proud of yourself. I am honored to have seen your blog and know that there are still many things I don't know much about because I learned about your blog. I am very happy and hope you can update it quickly. I will always follow you.메이저사이트
토토사이트 Email Homepage
2023-8-3 17:20
Your article is well written, but there are some shortcomings, you can take a look at my website and change the content to make your article more perfect  토토사이트
sundari Email Homepage
2023-8-5 18:03
Become a DevOps expert with our comprehensive training in Chennai. Gain hands-on experience and industry-relevant skills to accelerate your career.https://www.softlogicsys.in/devops-training-and-certification-in-chennai/
메이저놀이터 Email Homepage
2023-8-19 13:07
The language of the entire post is relaxed and humorous, appearing full of wit. You have clever ideas, are good at expressing yourself, and are thought-provoking. There are many noteworthy points that add a lot of literary charm to us.
토토사이트 Email Homepage
2023-8-22 08:17
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트 Email Homepage
2023-8-22 08:18
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트 Email Homepage
2023-8-22 08:18
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트 Email Homepage
2023-8-22 08:18
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트 Email Homepage
2023-8-22 08:18
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트 Email Homepage
2023-8-22 08:18
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트 Email Homepage
2023-8-22 08:19
I like all the articles and other content, and I must assert that I just like it. I just want more information about this unique thing because it is very amazing., Greetings about disclosure. 토토사이트
토토사이트
2023-8-22 13:32
He put in a system in SF based on who he had and the time he had. His first year they didn’t have an offseason to implement anything so it had to be relatively simple. 토토사이트
먹튀검증
2023-8-22 13:32
These kinds of secrets help in being a qualified person on this topic. This page is very helpful to myself because people like you committed time to learning. 먹튀검증
分页: 19/25 第一页 上页 14 15 16 17 18 19 20 21 22 23 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]