为什么我的iOS字体看起来非常像素化? iOS7的最佳字体? [英] Why do my iOS fonts look very pixelated? Best font for iOS7?

查看:85
本文介绍了为什么我的iOS字体看起来非常像素化? iOS7的最佳字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IB中选择Helvetica Neue UltraLight,它看起来确实非常糟糕.是内置iOS字体的最佳设置,还是所有漂亮的字体都可以自定义导入?

I pick Helvetica Neue UltraLight in IB, and it really looks pretty terrible. Is there a best setting for built in iOS fonts or are all the beautiful fonts all custom imports?

最佳背景颜色,字体,阴影偏移,大小?适用于您的设置,即您喜欢的设置或字体.

Best background color, font, shadow offset, size? That works for you, i.e, your favorite settings or fonts.

简单标签. iPad屏幕截图,非视网膜.

Simple label. iPad screen shot, non-retina.

推荐答案

我遇到了同样的问题,我花了几个小时才找到答案. 因此,主要问题是标签或标签父框架/中心正在使用浮点数. 您可以尝试

I had the same issue and i took me a couple of hours to find out. So the main issue is that the label or the label parent frame/center is using floating numbers. you can try this and this

我的问题是我在父图层上添加了阴影,并且有这条线self.tabsView.layer.shouldRasterize = YES;
,但是在删除它之后,像素化/模糊化效果消失了.

My problem was that i have added shadow to parent layer and i had this line self.tabsView.layer.shouldRasterize = YES;
but after removing it the pixeled/blured effect was gone.

希望这会有所帮助.

这篇关于为什么我的iOS字体看起来非常像素化? iOS7的最佳字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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