Instance Property

borderStyle

The border style used by the text field.

Declaration

var borderStyle: UITextBorderStyle { get set }

Discussion

The default value for this property is none. If the value is set to the roundedRect style, the custom background image associated with the text field is ignored.

See Also

Setting the View’s Background Appearance

var background: UIImage?

The image that represents the background appearance of the text field when it is enabled.

var disabledBackground: UIImage?

The image that represents the background appearance of the text field when it is disabled.