Instance Method

setText:

Sets the text displayed by the text field.

Declaration

- (void)setText:(NSString *)text;

Parameters

text

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

See Also

Setting the Text

- setAttributedText:

Sets the styled text displayed by the text field.

- setTextColor:

Sets the text’s color.