Initializer

init(coder:)

Creates an AR view initialized from data in a given decoder.

Declaration

@objc required dynamic init?(coder decoder: NSCoder)

Parameters

decoder

The decoder used to initialize the view.

See Also

Creating a View

init(frame: CGRect)

Creates an AR view with the specified dimensions.

init(frame: CGRect, cameraMode: ARView.CameraMode, automaticallyConfigureSession: Bool)

Creates an AR view with the specified dimensions, camera mode, and session configuration state.

typealias ARViewBase

The platform-specific base class for the view into which RealityKit renders content.

init(frame: CGRect, cameraMode: ARView.CameraMode)

Creates an AR view with the specified dimensions and camera mode.

Deprecated