Ios – UITextField blurred text

cocoa-touchiosiphoneuikituitextfield

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 responder, but blurred again when it loses focus:

alt text
(source: mikeweller.com)

Does anybody know how to fix this?

Best Answer

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.