设置textfield的placeholder字体颜色
2017-01-20 10:38
239 查看
[searchTextField setValue:ColorN(0xc0,
0xc0, 0xc0)
forKeyPath:@"_placeholderLabel.textColor"];
[searchTextField setValue:kFont14
forKeyPath:@"_placeholderLabel.font"];
0xc0, 0xc0)
forKeyPath:@"_placeholderLabel.textColor"];
[searchTextField setValue:kFont14
forKeyPath:@"_placeholderLabel.font"];
相关文章推荐
- 深入JS2.1获取时间
- document.getElementsByTagName('*')
- 获取中文汉字的首字母
- 德国到底有没有可能打赢第二次世界大战?
- uboot下emmc内容烧写(拷贝)步骤
- MySQL5解压缩版windows下安装配置应用总结
- UML下的⑨种图~类图、对象图
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- 浅谈 Python 的 with 语句
- QObject 的拷贝构造和赋值操作
- python练习_sed替换
- poll
- 解决 安装驱动程序后设备管理器中显示黄色问号
- spring boot 实际应用(四)log4j2 整合
- centos 定时器crontab 定时执行任务
- node编写邮件第三方客户端发送邮件
- python dict 字典 以及 赋值 引用的一些实例(详解)
- 数据库视图的使用
- C#生成MD5的函数代码
- softmax函数的硬件实现