drawTextInRect on UITextField not called
Posted
by subw
on Stack Overflow
See other posts from Stack Overflow
or by subw
Published on 2009-12-17T10:29:48Z
Indexed on
2010/04/06
0:03 UTC
Read the original article
Hit count: 673
I'm trying to implement the answer to this SO question. The problem is: -[drawTextInRect]
is apparently not called, and setting the shadow in -[drawRect]
doesn't make the UITextField's text shadowed.
Another weird thing is that even if my subclass implementations of -[drawTextInRect]
and -[drawRect]
are completely empty (not even a call to super), the textfield's text is drawn.
© Stack Overflow or respective owner