Contents

setBackgroundLayer(_:)

The Core Animation layer used as the view’s background.

Declaration

func setBackgroundLayer(_ aLayer: CALayer!)

Parameters

  • aLayer:

    A CALayer instance.

Discussion

The background layer can have sublayers. Additionally, the layers can also contain animations.

The layer is optional.

See Also

Core Animation Layer Integration