属性setValue简单使用
2016-12-28 本文已影响0人
c42b9af86268
[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"];