Reputation: 3150
How to force a subclassed UITextField to redraw the text when the textRectForBounds gets changed? Calling setNeedsDisplay does not work.
Upvotes: 3
Views: 1734
Reputation: 22926
Call setNeedsLayout
- this should invoke when textRectForBounds
gets changed.
Upvotes: 2