iOS开发设置UITextField的placeholder字体
2017-07-12 本文已影响2人
西瓜皮奥特曼
[_emailTextField setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];
[_emailTextField setValue:[UIColor whiteColor] forKeyPath:@"_placeholderLabel.textColor"];