設置placeholder的顏色

方法一:自定義UITextField類,重寫drawPlaceholderInRect方法spa - (void)drawPlaceholderInRect:(CGRect)rectorm {get     [self.placeholder drawInRect:CGRectMake(0, 10,rect.size.width, 25) withAttributes:@{it          
相關文章
相關標籤/搜索