[textfield setValue:[UIColor greenColor] forKeyPath:@"_placeholderLabel.textColor"];
[textfield setValue:[UIFont boldSystemFontOfSize:15] forKeyPath:@"_placeholderLabel.font"];
iOS开发:修改textfield的placeholder字体和颜色
最新推荐文章于 2024-08-29 22:28:35 发布