//字体大小
textField.attributedPlaceholder = NSAttributedString.init(string:"输入你需要的服务", attributes: [NSFontAttributeName:UIFont.systemFont(ofSize:15)])
//字体颜色
textField.attributedPlaceholder = NSAttributedString.init(string:"输入你需要的服务", attributes: [
NSForegroundColorAttributeName:UIColor.red])
网友评论