---
title: hostedViewMaximumAllowedSize
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsextensioncontext/hostedviewmaximumallowedsize
---

# hostedViewMaximumAllowedSize

The maximum size for a Siri hosted view.

## Declaration

```swift
var hostedViewMaximumAllowedSize: CGSize { get }
```

## Discussion

Discussion Apps can customize the Siri interface using an Intents UI extension. The extension vends a view controller whose view contains the custom content that you want Siri to display. The size of that view controller’s view must be no larger than the size value in this property.

## See Also

### Getting Siri-related information

- [hostedViewMinimumAllowedSize](foundation/nsextensioncontext/hostedviewminimumallowedsize.md)
- [interfaceParametersDescription()](foundation/nsextensioncontext/interfaceparametersdescription().md)
