---
title: maximumSize
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscenesizerestrictions/maximumsize
---

# maximumSize

The maximum width and height supported by your app’s windows.

## Declaration

```swift
var maximumSize: CGSize { get set }
```

## See Also

### Setting the size restrictions

- [minimumSize](uikit/uiscenesizerestrictions/minimumsize.md)
- [allowsFullScreen](uikit/uiscenesizerestrictions/allowsfullscreen.md)
