Instance Method

setBackgroundLayer:

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

Declaration

- (void)setBackgroundLayer:(CALayer *)aLayer;

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

- setForegroundLayer:

The Core Animation layer used as the foreground overlay.

- foregroundLayer

Returns the foreground Core Animation layer

- backgroundLayer

Returns the foreground Core Animation layer