制作精美的tabBar图标 [英] Make a fine tabBar icon

查看:102
本文介绍了制作精美的tabBar图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们知道tabBar的默认图标大小是30x30点。我有一个细线图标,显示属性不是那么好。它的边缘不锋利。但是我发现music.app的tabBar图标真的非常漂亮。有什么技巧我应该知道吗?提前致谢!

As we know the default icon size for the tabBar is 30x30 point. I have an icon with thin lines and the display property is not that good. Its edge is not sharp. But I find the tabBar icon of music.app is really pretty with sharp edge. Is there any trick I should know? Thanks in advance!

推荐答案

这是30x30点,可能是30x30像素,或60x60像素,具体取决于设备是否有视网膜显示器。该图像看起来显示在视网膜设备上。

It's 30x30 points, which could be either 30x30 pixels, or 60x60 pixels, depending if the device has a retina display or not. That image looks to be displayed on a retina device.

如果你有一个图像,例如,名为MusicTabIcon.png,有两个版本......

If you have an image, for example, named MusicTabIcon.png, have two versions...


  1. 一个@ 30x30像素名为MusicTabIcon.png

  2. 一个@ 60x60像素,名为MusicTabIcon@2x.png

这篇关于制作精美的tabBar图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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