IOS-设置placeholder的文字颜色
2016-08-17 本文已影响8人
Style_伟
举例:
[self.phoneTextField setValue:[UIColor grayColor] forKeyPath:@"_placeholderLabel.textColor"];
举例:
[self.phoneTextField setValue:[UIColor grayColor] forKeyPath:@"_placeholderLabel.textColor"];