setBackgroundLayer(_:)
The Core Animation layer used as the view’s background.
Declaration
func setBackgroundLayer(_ aLayer: CALayer!)Parameters
- aLayer:
A
CALayerinstance.
Discussion
The background layer can have sublayers. Additionally, the layers can also contain animations.
The layer is optional.