把一些以前的代码片段记一下
[textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
[textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_placeholderLabel.font"];
把一些以前的代码片段记一下
[textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];
[textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_placeholderLabel.font"];
本文标题:UIBUTTON placeholder 字体大小和颜色
本文链接:https://www.haomeiwen.com/subject/iamlvqtx.html
网友评论