苹果一直拒绝 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 代码,禁用类似下图的链接长按弹出效果:


对付方法:
1、URL不让直接通过浏览器访问(UIWebView的请求Header头中加点东西,在服务器端将APP内嵌的访问和通过直接浏览器访问区分开来),或者通过浏览器访问时,返回JSON、XML信息,输出“Interface Error”,忽悠苹果审核人员说这是HTTP协议的接口,不是网页。
2、禁用、禁止 UIWebView 里面的链接长按弹出效果。加入一行 CSS 代码,禁用类似下图的链接长按弹出效果:
html,body{-webkit-touch-callout: none;}


Croydon Airport Taxi
2025-11-1 20:54
Croydon Minicabs offers fast, safe, and affordable taxi services across Croydon and surrounding areas. Whether you need an airport transfer, local ride, or long-distance journey, our professional drivers and well-maintained vehicles ensure a comfortable travel experience 24/7. Book your Croydon minicab online or by phone for quick pick-ups, fixed fares, and excellent customer service. contact information location : Croydon, UK phone no : +44 02086864000website: https://croydoncar.co.uk/croydon-minicabs
purely to heathrow Airport taxi
2025-12-13 18:48
Travelling from Purely to Heathrow Airport should be a smooth and stress-free experience, and choosing the right transport option can make all the difference. Whether you’re heading off on a long-awaited holiday, catching a business flight, or welcoming visitors, the route from Purley to Heathrow offers convenient and reliable travel solutions that cater to every need. Passengers often prefer professional taxi or private hire services for their comfort, punctuality, and door-to-door convenience, especially when travelling with luggage or during peak hours.website: https://expresscouriercars.co.uk/purely-heathrow-airport-transfersHOME PAGE URL: https://expresscouriercars.co.uk/
分页: 26/26
21 22 23 24 25 26
21 22 23 24 25 26
【旅行日记】2012年8月26日,寻找草原天路(又名草沿天路)
苏州,梦想之城

2012-9-24 19:14 | by







