TextField.attributedPlaceholder = NSAttributedString(string:"点此处输入内容",attributes:[NSForegroundColorAttributeName:UIColor.black])
TextField.attributedPlaceholder = NSAttributedString(string:"点此处输入内容",attributes:[NSForegroundColorAttributeName:UIColor.black])
本文标题:修改UITextfield的Placeholder字体的颜色
本文链接:https://www.haomeiwen.com/subject/hobizttx.html
网友评论