How to fix blurred text on an iPhone 6 (+)

前端 未结 1 924
醉酒成梦
醉酒成梦 2021-01-14 11:32

We use a custom font face and custom font sizes in our application. When running the application on an iPhone 6 (haven\'t tried 6+ yet but I assume it\'s the same) all fonts

相关标签:
1条回答
  • 2021-01-14 11:58

    Perhaps your labels or drawing points aren't on an exact pixel, but instead on a fractional pixel. To prevent such situations use methods like ceilf(), floorf() and CGRectIntegral().

    0 讨论(0)
提交回复
热议问题