在iOS应用程序中仅使用@ x3图像有任何缺点吗? [英] Are there any downsides to using only @x3 images on an iOS app?

查看:197
本文介绍了在iOS应用程序中仅使用@ x3图像有任何缺点吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅使用@ x3图像是否有缺点,
在@ x2设备(iphone 4,4s,5,5s,6)和@ x3设备(6 +)上显示相同的图像

Are there downsides for using only @x3 images, showing the same images on both @x2 devices (iphone 4, 4s, 5, 5s, 6) and @x3 devices (6+)

我想这意味着即时调整大小。

i guess it means resizing on the fly.

还是应该使用@ x1 @ x2和@ x3?

or should i use @x1 @x2 and @x3?

谢谢!

推荐答案

如果你只使用@ x3图片,那么缺点是iOS将不得不做肮脏的工作。

If you only use @x3 images, the downside is that iOS will have to "do the dirty work".

所以你的应用程序会慢一些,因为系统必须为@ x2 / @ x1设备缩放你的图像

So your app will be a little bit slower as the system will have to scale your images for @x2/@x1 devices

此外,由于@ x3中的奇数像素不能很好地缩小,因此您的屏幕可能看起来不那么清晰。

Also your screens might look less sharp as odd pixels in @x3 don't scale down nicely.

因为@ x1设备几乎是过去(只有iPad mini 1正在发售,正如我写的那样),值得考虑放弃@ x1。 @ x2设备可能会再销售几年,所以我会继续使用@ 2x。

Since @x1 devices are almost a thing of the past (just the iPad mini 1 is on sale, as I write this), its worth considering dropping @x1. @x2 devices will probably be sold for a few more years so I'd keep using @2x.

这篇关于在iOS应用程序中仅使用@ x3图像有任何缺点吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆