Instance Property

rightViewMode

Controls when the right overlay view appears in the text field.

Declaration

@property(nonatomic) UITextFieldViewMode rightViewMode;

Discussion

The default value for this property is UITextFieldViewModeNever. Note that the right overlay view flips automatically in a right-to-left user interface.

See Also

Managing Overlay Views

clearButtonMode

Controls when the standard clear button appears in the text field.

leftView

The overlay view displayed on the left (or leading) side of the text field.

leftViewMode

Controls when the left overlay view appears in the text field.

rightView

The overlay view displayed on the right (or trailing) side of the text field.

UITextFieldViewMode

Defines the times at which overlay views appear in a text field.