previewLayer
The layer that displays a camera preview the coordinator calculates a video rotation angle for.
Declaration
weak var previewLayer: CALayer? { get }Discussion
The coordinator updates its videoRotationAngleForHorizonLevelPreview property by monitoring the layer and the physical rotation of device.