Contents

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 UIView.TintAdjustmentMode.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 Documentation

Configuring a view’s visual appearance