“Swift Uitextfield Placeholder Color” Ответ

Установите цвет держателя белого места в Swift

placeholderLabel.textColor (Swift 4)

_placeholderLabel.textColor (Swift 3 or less)
Frail Flamingo

Swift Uitextfield Placeholder Color

myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
                             attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
Mobile Star

Ответы похожие на “Swift Uitextfield Placeholder Color”

Вопросы похожие на “Swift Uitextfield Placeholder Color”

Больше похожих ответов на “Swift Uitextfield Placeholder Color” по Swift

Смотреть популярные ответы по языку

Смотреть другие языки программирования