Contents

experienceController

The experience controller for this view controller.

Declaration

@MainActor @preconcurrency var experienceController: AVExperienceController { get }

Discussion

Use an experience controller to transition a player to different experiences and observe experience transitions.

The use of the experience controller is mutually exclusive with a view controller’s existing API for managing the experience. After accessing the experienceController property, those methods will log an error and have no effect. Attempting to access this property may fail if these mutually-exclusive properties and methods have been used.

See Also

Configuring the visionOS player UI