I have subclass the UITextField class and did the below code
- (void)drawPlaceholderInRect:(CGRect)rect
{
[self.placeHolderTextColor setFill];
[self.pl
I have fixed this problem by subclassing UITextFieldClass and override drawPlaceholderInRect function.
- (void)drawPlaceholderInRect:(CGRect)rect
{
if(IS_IOS7)
{
[[self placeholder] drawInRect:CGRectMake(rect.origin.x, rect.origin.y+10, rect.size.width, rect.size.height) withFont:self.font];
}
else {
[[self placeholder] drawInRect:rect withFont:self.font];
}
}