setText(_:)
Sets the text displayed by the text field.
Declaration
func setText(_ text: String?)Parameters
- text:
The text displayed in the text field. Specifying
nilclears the current text.
Sets the text displayed by the text field.
func setText(_ text: String?)The text displayed in the text field. Specifying nil clears the current text.