UITextField的placeholder的字体颜色和大小

[_nameText setValue: [UIColor lightGrayColor] forKeyPath:@"_placeholderLabel.textColor"];

[_nameText setValue:[UIFont boldSystemFontOfSize:13] forKeyPath:@"_placeholderLabel.font"];

posted @ 2014-09-28 11:58  苏糊  阅读(244)  评论(0编辑  收藏  举报