简体   繁体   English

UIWebView在Simulator中效果很好,但在iPad设备中效果不佳

[英]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.

相关问题 JayData / Phonegap可在iPad Simulator中使用,但不适用于iPad设备 - JayData / Phonegap works in iPad Simulator but not iPad device convertPoint:fromView:在模拟器上效果很好,在设备上效果不佳 - convertPoint:fromView: works well on the simulator, not on device iAd在模拟器上有效,但在设备上崩溃(ipad) - iAd works on simulator but crash on device(ipad) 将文件夹添加到iPad捆绑包适用于模拟器,而不适用于设备 - Adding folder to iPad bundle works on simulator, not on device UIWebView在模拟器中加载,但不在设备中加载 - UIWebView Loads in simulator but not in device Xcode 9 bug:在设备上构建失败并出现大量错误,模拟器运行良好 - Xcode 9 bug : build on device fails with lots of errors, simulator works well iOS 8.3 iPad上的自定义UIWindow可在模拟器上运行,但不能在设备上运行 - Custom UIWindow on iOS 8.3 iPad works on simulator but not device iPad Opengl ES程序可以在模拟器上正常运行,但不能在设备上运行 - iPad Opengl ES program works fine on simulator but not device 我的应用程序在iPad模拟器上运行良好,但在iPad(iOS 8.4)上崩溃了,xcode显示无法捆绑捆绑NIB - My app works well on iPad simulator but crashed on iPad(iOS 8.4) ,the xcode says Could not load NIB in bundle AVExportSession可在Simulator,iPad 2而非iPad 4上运行 - AVExportSession works on Simulator, iPad 2 but not iPad 4
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM