[searchField setValue:[UIColor redColor] forKeyPath:"_placeholderLabel.textColor"];
[searchField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:"_placeholderLabel.font"];
[searchField setValue:[UIColor redColor] forKeyPath:"_placeholderLabel.textColor"];
[searchField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:"_placeholderLabel.font"];
本文标题:属性setValue简单使用
本文链接:https://www.haomeiwen.com/subject/lmlbpttx.html
网友评论