Instance Property

tintColor

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

Declaration

@property(nonatomic, strong) UIColor *tintColor;

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 UIViewTintAdjustmentModeDimmed, 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

Configuring a View’s Visual Appearance

backgroundColor

The view’s background color.

hidden

A Boolean value that determines whether the view is hidden.

alpha

The view’s alpha value.

opaque

A Boolean value that determines whether the view is opaque.

tintAdjustmentMode

The first non-default tint adjustment mode value in the view’s hierarchy, ascending from and starting with the view itself.

clipsToBounds

A Boolean value that determines whether subviews are confined to the bounds of the view.

clearsContextBeforeDrawing

A Boolean value that determines whether the view’s bounds should be automatically cleared before drawing.

maskView

An optional view whose alpha channel is used to mask a view’s content.

layerClass

Returns the class used to create the layer for instances of this class.

layer

The view’s Core Animation layer used for rendering.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software