textField.placeholder的颜色
2017-02-12 本文已影响0人
ios小正太
//placeholder的背景颜色
_textField1.placeholder = @"邮箱/手机号";
[_textField1 setValue:[UIColor whiteColor] forKeyPath:@"placeholderLabel.textColor"];
//placeholder的背景颜色
_textField1.placeholder = @"邮箱/手机号";
[_textField1 setValue:[UIColor whiteColor] forKeyPath:@"placeholderLabel.textColor"];