---
title: portal
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avviewport/portal
---

# portal

## Declaration

```swift
var portal: AVPortalViewport? { get set }
```

## Discussion

Discussion The viewport configuration to use when immersive content is displayed in a portal. Set this property to customize how content appears within a portal frame. When nil, the system uses default portal settings. 		Spatial videos are not supported by portal viewports.

## See Also

### Configuring the portal viewport

- [AVPortalViewport](avkit/avportalviewport.md)
