viewLayer
The layer that displays the ARFrame, required before viewRotationAngle becomes available.
Declaration
weak var viewLayer: CALayer? { get set }Discussion
Assign the layer that presents the camera image. Renderers such as ARSCNView, ARSKView, ARView, and RealityView set this for you.