F fenrus110 macrumors regular Original poster Jan 5, 2009 #1 I'm wanting to change the text color for the placeholder (it's using the default light grey). Is this even possible?
I'm wanting to change the text color for the placeholder (it's using the default light grey). Is this even possible?
dejo Moderator emeritus Jan 5, 2009 #2 It should be possible if you override the drawPlaceholderInRect: method.
5 5et macrumors newbie Jun 24, 2009 #3 I add to my class But I don't know how I can change color here. Please. help me 🙁 Code: @implementation UITextField (reverse) - (void)drawPlaceholderInRect:(CGRect)rect{ //What I must add here? [super drawRect:rect]; } @end
I add to my class But I don't know how I can change color here. Please. help me 🙁 Code: @implementation UITextField (reverse) - (void)drawPlaceholderInRect:(CGRect)rect{ //What I must add here? [super drawRect:rect]; } @end