F fenrus110 macrumors regular Original poster Mar 24, 2008 142 0 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 Sep 2, 2004 15,982 452 The Centennial State Jan 5, 2009 #2 It should be possible if you override the drawPlaceholderInRect: method.
5 5et macrumors newbie Jul 31, 2008 16 0 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