placeholder
The string that displays when there is no other text in the text field.
Declaration
var placeholder: String? { get set }Discussion
This value is nil by default. The placeholder string is drawn using a system-defined color.
The string that displays when there is no other text in the text field.
var placeholder: String? { get set }This value is nil by default. The placeholder string is drawn using a system-defined color.