以 640x960 而不是 320x480 渲染 iPhone 4 Web 应用程序?
我们的 Web 应用程序在 iPhone 4 上以 320x480 的分辨率渲染,但我们需要以 640x960 的分辨率渲染它。
我们尝试应用一些 StackOverflow 建议来渲染本机应用程序,但它不起作用。
例如,我们需要在 640x960 屏幕上有一个 80 像素宽的框,但如果我们使用逻辑坐标设计该框并给它 40 个点,则它在屏幕上仅显示为 40 像素宽。而且整个屏幕的宽度只有320像素,而不是640像素。
我们如何使用完整的 640x960 分辨率渲染 Web 应用程序?
Our web app renders on the iPhone 4 at a resolution of 320x480, but we need to render it at 640x960.
We tried applying some of the StackOverflow recommendations for rendering native apps, but it didn't work.
For instance, we need a box to be 80 pixels wide on a 640x960 screen, but if we design the box using logical coordinates and give it 40 points, it only shows up as 40 pixels wide on the screen. And the whole screen is only 320 pixels wide instead of 640 pixels.
How can we render web apps using the full 640x960 resolution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经在 .net 中完成了一个本机网络应用程序,我所做的只是在我的 css 指定的 body{width:320px;} 中
不确定这是否是您需要做的..
I've done a native web app in .net and all i did was in my css specified body{width:320px;}
not sure if that's what you are needing to do..