Contents

tintColor

The tint color to apply to the button title and image.

Declaration

var tintColor: UIColor! { get set }

Discussion

All subclasses of UIView derive their behavior for tintColor from the base class. See the discussion of tintColor at the UIView level for more information.

This property has no default effect for buttons with type UIButton.ButtonType.custom. For custom buttons, you must implement any behavior related to tintColor yourself.

See Also

Managing images and tint color