foregroundLayer() Returns the foreground Core Animation layer Declarationfunc foregroundLayer() -> CALayer! Return ValueA CALayer instance. See AlsoCore Animation Layer IntegrationsetForegroundLayer(_:)setBackgroundLayer(_:)backgroundLayer()