UITextField blurred text

前端 未结 8 654
逝去的感伤
逝去的感伤 2020-12-16 02:42

I am having a problem with a UITextField\'s text being blurred/anti-aliased even with a standard font size. The text will appear crisp when the control is the first responde

8条回答
  •  误落风尘
    2020-12-16 03:23

    Use CGRectIntegral to make sure the text fields' frames are based on integer coordinates. You'll get fuzzy antialiasing when things lie on fractional coordinates.

提交回复
热议问题