Contents

viewport

A configuration object that manages viewport settings for different presentation modes.

Declaration

var viewport: AVViewport { get }

Discussion

Set portal to control the aspect ratio of the frame the system uses for a portal presentation. When you don’t specify an aspect ratio, the portal defaults to 16:9 (1.78).

See Also

Configuring the visionOS player UI