ios修改textField的placeholder的字体颜色、大小

textField.placeholder = @"summer";  
[textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];  
[textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_placeholderLabel.font"];  

你可能感兴趣的:(UI)