Enumeration

UITextBorderStyle

The type of border drawn around the text field.

Declaration

typedef enum UITextBorderStyle : NSInteger {
    ...
} UITextBorderStyle;

Topics

Constants

UITextBorderStyleNone

The text field does not display a border.

UITextBorderStyleLine

Displays a thin rectangle around the text field.

UITextBorderStyleBezel

Displays a bezel-style border for the text field. This style is typically used for standard data-entry fields.

UITextBorderStyleRoundedRect

Displays a rounded-style border for the text field.

See Also

Accessing the Text Attributes

text

The text displayed by the text field.

attributedText

The styled text displayed by the text field.

placeholder

The string that is displayed when there is no other text in the text field.

attributedPlaceholder

The styled string that is displayed when there is no other text in the text field.

defaultTextAttributes

The default attributes to apply to the text.

font

The font of the text.

textColor

The color of the text.

textAlignment

The technique to use for aligning the text.

typingAttributes

The attributes to apply to new text being entered by the user.