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

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




技术大类 » 移动互联网与手机 | 评论(93) | 引用(0) | 阅读(67011)
rtrtr
2019-11-11 20:11
They also include increased social care costs, benefits payments and also working days lost. All this have negative impacts on the amount of money lost from the economy due to obesity. urgent assignment helphttps://www.essaybaron.com/home/assignment-help-services/urgent-assignment-help-instantly
vananh01 Email
2019-11-22 09:51
Things are very open and intensely clear explanation of issues. was truly information. Your website is very beneficial   hotmail login emailgmail sign up
sourlemon Email
2019-11-26 14:46
The information you provide about Apple is very valuable to iphone users like me, thanks. basketball legends
Cheap Essay Writing Help Services Homepage
2019-12-12 21:55
To enhance cost-effectiveness of Custom Essay Writing Help Services there is a need to review Custom Essay Writer Service writers to ensure they can produce a high quality Best Essay Writing Help Services.
upsot Email Homepage
2020-1-1 09:45
This is really a great stuff for sharing. Keep it up .Thanks for sharing.hotmail login
mahira2502 Email Homepage
2020-1-3 14:51
Very expeditiously written information.https://www.foxsportgoactivate.com/
garyritterm Email Homepage
2020-1-6 12:32
Fildena 150 Mg Boost your power of intimacy with life partner by using Fildena 150 MG purple tablets you can also check out reviews, side effects or more
xianlol Email Homepage
2020-1-18 16:59
AMPServ提示1、Apache启动失败,请检查相关配置。2、MySQL5.0启动失败,请检查相关配置。  请问是什么原因导致的?具体的解决方案是什么?谢了crycrycry
xianlol Email Homepage
2020-1-18 17:00
AMPServ提示1、Apache启动失败,请检查相关配置。2、MySQL5.0启动失败,请检查相关配置。  请问是什么原因导致的?具体的解决方案是什么?谢了
run 3 Email Homepage
2020-1-31 17:18
This is a great thing, I think everyone feels this information is very valuable, thank you basketball legendsbasketball legends
Criminology Writing Services Email Homepage
2020-2-7 13:34
Criminology Students always find the Best Criminology Writing Services since it's very difficult to complete Custom Criminology Research Paperss and Criminology Custom Term Papers.
Accounting Writing Services Email Homepage
2020-2-13 14:44
It is important to seek help for all Online Accounting Writing Services needs from experienced writers for your Accounting Coursework Writing Services and Accounting Paper Writing Services.Online Accounting Writing Services
Theology Writing Services Email Homepage
2020-2-13 14:46
It is advisable for students to seek help when taking Religion & Theology Writing Services and Religion & Theology Research Paper Help for they can hire the best Religion & Theology Research Paper Help provider.
分页: 5/5 第一页 上页 1 2 3 4 5 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]