textfile 属性
生活随笔
收集整理的这篇文章主要介绍了
textfile 属性
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
//设置textfile的Placeholder的颜色和字体大小
nameText.attributedPlaceholder = NSAttributedString.init(string: "用户名", attributes: [NSForegroundColorAttributeName: UIColor.white,NSFontAttributeName: UIFont.systemFont(ofSize: 18)])
转载于:https://www.cnblogs.com/zuidap/p/6022474.html
总结
以上是生活随笔为你收集整理的textfile 属性的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Enumeration接口
- 下一篇: 安卓开发遇到Error:Executio