Contents

borderStyle

The border style for the text field.

Declaration

var borderStyle: UITextField.BorderStyle { get set }

Discussion

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

See Also

Setting the view’s background appearance