Instance Property

tintColor

The first nondefault tint color value in the view’s hierarchy, ascending from and starting with the view itself.

Declaration

var tintColor: UIColor! { get set }

Discussion

If the system cannot find a nondefault color in the hierarchy, this property’s value is a system-defined color instead.

If the view’s tintAdjustmentMode property’s value is dimmed, then the tintColor property value is automatically dimmed.

To refresh subview rendering when this property changes, override the tintColorDidChange() method.

Colors that are pattern colors (as described in UIColor) are not supported.

See Also

Related Symbols

func tintColorDidChange()

Called by the system when the tintColor property changes.