AVViewport
Declaration
class AVViewportOverview
A configuration object that manages viewport settings for different presentation modes.
AVViewport provides configuration options for how immersive content is displayed in different viewing contexts. Use this object to customize the visual presentation of your content within the visionOS environment.
The viewport configuration allows you to specify how content should be framed
and presented to users. Currently, portal-based presentation is supported through
the portal property.Topics
Configuring the portal viewport
See Also
visionOS playback
Playing immersive media with AVKitCreating a multiview video playback experience in visionOSAdopting the system player interface in visionOSTrimming and exporting media in visionOSAVPlayerViewControllerAVPlayerViewControllerDelegateAVExperienceControllerAVMultiviewManagerAVGroupExperienceCoordinatorAVPortalViewportThird-party casting support