Contents

disabledBackground

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

Declaration

var disabledBackground: UIImage? { get set }

Discussion

Background images are drawn in the border rectangle portion of the text field. Images you use for the text field’s background should be able to stretch to fit. This property is ignored if the background property is not also set.

This property is set to nil by default.

See Also

Setting the view’s background appearance