UITextField blurred text

前端 未结 8 645
逝去的感伤
逝去的感伤 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:34

    In addition to using non-fractional positioning one should make sure to use a non-centered vertical alignment for the UITextField. Looks like centered vertical alignment in combination with an odd font size results in blurred text, too.

提交回复
热议问题