[英]Blurred fonts for all labels in the iPad app
We have been developing an iPad app and we are seeing one strange issue. 我们一直在开发iPad应用程序,我们看到一个奇怪的问题。
Once we deploy app on device , in some of the iPads we see that fonts of all the labels are coming as blurred (fonts are visible but are faded/blurred). 一旦我们在设备上部署应用程序,在某些iPad中,我们看到所有标签的字体都变得模糊(字体可见但褪色/模糊)。
In some iPads, we can see the issue but couldn't see the issue on all the iPads. 在某些iPad中,我们可以看到问题,但无法在所有iPad上看到问题。 It is not os specific (seen on both ios5 and ios6) . 它不是特定于操作系统(在ios5和ios6上都可以看到)。 Issue doesn't go even after killing app or reinstalling it. 杀死应用程序或重新安装后问题甚至都没有发生。
If device show issue , it will always be there and if device doesn't show issue, it won't show it ever. 如果设备显示问题,它将始终存在,如果设备没有显示问题,它将不会显示它。
Any input on when this can happen or anyone has seen it before ? 有关这种情况何时发生或任何人以前见过的任何意见?
Maybe the problem can be that the coordinates are not integers. 也许问题可能是坐标不是整数。 You can Fix it with CGRectIntegral()
. 您可以使用CGRectIntegral()
修复它。 Sample: 样品:
subView.frame = CGRectIntegral(CGRectMake( 0, 0, sizeWidth, sizeHeight));
It depends on iPad version. 这取决于iPad版本。 Seems you can see blurry labels only on iPad 2 ( non retina display ). 似乎只能在iPad 2(非视网膜显示屏)上看到模糊标签。 And it not depends on iOS version. 而且这不取决于iOS版本。 Rounding frame and center will fix it 圆形框架和中心将修复它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.