在 iPod Touch 上测试时,为什么有些图像显得很大?
我的应用程序中的图像都是其显示尺寸的 2 倍(或更多)。但由于某种原因,在设备上进行测试时,其中一些图像以原始大小显示在屏幕上,因此显示的大小是 Interface Builder 和模拟器上。有些以应有的尺寸出现。
任何想法为什么会这样?我的 iPod Touch 是第一代,所以它使用的是 3.0 软件。
Possible Duplicate:
Running app built in iOS4 on iOS 3.0, why is everything huge?
My images in my app are all 2x (or more) the size that they appear at. But for some reason, some of these images are appearing at their original size on the screen, when testing on a device, and so appear twice as large as they do in Interface Builder and on the simulator. And some are appearing at the size they should be.
Any ideas why this could be? My iPod Touch is 1st generation, so it's on 3.0 software.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该应用程序可能仅包含 Retina 显示屏 的双分辨率图像,并且它们没有后缀用“@2x”表示它们是双倍的。
The app probably only includes double resolution images for the Retina Display, and they're not suffixed with "@2x" to indicate that they're double.