设置placeholder的颜色

方法一:自定义UITextField类,重写drawPlaceholderInRect方法spa - (void)drawPlaceholderInRect:(CGRect)rectorm {get     [self.placeholder drawInRect:CGRectMake(0, 10,rect.size.width, 25) withAttributes:@{it          
相关文章
相关标签/搜索