Open robinmonjo opened 9 years ago
When setting up the placeholder this way:
var str = NSMutableAttributedString(string: "some strings", attributes: nil) str.addAttribute(NSForegroundColorAttributeName, value: UIColor.redColor(), range: NSMakeRange(0, str.length)) textField.attributedPlaceHolder = str
the floating placeholder is not visible.
When setting up the placeholder this way:
the floating placeholder is not visible.