---
title: AVViewport
framework: avkit
role: symbol
role_heading: Class
path: avkit/avviewport
---

# AVViewport

## Declaration

```swift
class AVViewport
```

## Overview

Overview 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

- [portal](avkit/avviewport/portal.md)
- [AVPortalViewport](avkit/avportalviewport.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### visionOS playback

- [Playing immersive media with AVKit](avkit/playing-immersive-media-with-avkit.md)
- [Creating a multiview video playback experience in visionOS](avkit/creating-a-multiview-video-playback-experience-in-visionos.md)
- [Adopting the system player interface in visionOS](avkit/adopting-the-system-player-interface-in-visionos.md)
- [Trimming and exporting media in visionOS](avkit/trimming-and-exporting-media-in-visionos.md)
- [AVPlayerViewController](avkit/avplayerviewcontroller.md)
- [AVPlayerViewControllerDelegate](avkit/avplayerviewcontrollerdelegate.md)
- [AVExperienceController](avkit/avexperiencecontroller.md)
- [AVMultiviewManager](avkit/avmultiviewmanager.md)
- [AVGroupExperienceCoordinator](avkit/avgroupexperiencecoordinator.md)
- [AVPortalViewport](avkit/avportalviewport.md)
- [Third-party casting support](avkit/third-party-casting-support.md)
