[英]UIWebView works well in Simulator but not in iPad device
I have a native app which run well in both simulator and ipad device. 我有一个本机应用程序,可以在模拟器和ipad设备上良好运行。
But there is a UIWebView
to load static HTML files, most HTML page run well, but only one web page has the issue : simulator can run well , but can not show completely on device. 但是有一个
UIWebView
可以加载静态HTML文件,大多数HTML页面运行良好,但是只有一个网页存在以下问题:模拟器可以运行良好,但无法在设备上完全显示。
How many possible causes for this sort of issue ? 有多少种可能导致这种问题?
Thanks 谢谢
could you provide more info 你能提供更多信息吗
maybe using metadata to adjust to the device could work 也许使用元数据来调整设备可以工作
meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;"
meta name =“ viewport” content =“ width = device-width,initial-scale = 1.0,maximum-scale = 1.0,user-scalable = no;” /
/
on the static page could help 静态页面上的内容可能会有所帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.