设置输入框占位符颜色

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/NLYNN/article/details/79739582

利用KVC赋值

[_textField setValue:[UIColor greenColor] forKeyPath:@"_placeholderLabel.textColor"];


猜你喜欢

转载自blog.csdn.net/NLYNN/article/details/79739582
今日推荐