How to fix blurry text on iPhone 6 (+)

We are using a custom font font and custom font sizes in our application. When running the app on an iPhone 6 (haven't tried 6+ yet, but I'm guessing it's the same), all fonts look blurry. We also have an internal tool that uses the system font and it also looks blurry.

Why is this and what's the right approach to make them display as clear as on the iPhone 5?


source to share

1 answer

It may be that your marks or drawing points are not on an exact pixel, but instead on a fractional pixel. To prevent such situations, use methods such as ceilf (), floorf (), and CGRectIntegral ().



All Articles