Contents

image

The image displayed on the bar button.

Declaration

var image: UIImage? { get set }

Discussion

If you provide an animated image, the button displays only the first image in the animation sequence.

Setting this property has an effect only when the button type is CPBarButton.Type.image.

See Also

Configuring the Button