Contents

setText(_:)

Sets the text displayed by the text field.

Declaration

func setText(_ text: String?)

Parameters

  • text:

    The text displayed in the text field. Specifying nil clears the current text.

See Also

Setting the Text