Contents

contentsFormat

A hint for the desired storage format of the layer contents.

Declaration

var contentsFormat: CALayerContentsFormat { get set }

Discussion

The default value of this property is RGBA8Uint.

UIView and layer-backed NSView objects may change the value to a format appropriate for the current device.

See Also

Configuring the layer’s rendering behavior