---
title: size
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscreenmode/size
---

# size

The screen size, measured in pixels.

## Declaration

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

## Discussion

Discussion The value in this property represents the size of the underlying display buffer.

## See Also

### Accessing the screen mode attributes

- [pixelAspectRatio](uikit/uiscreenmode/pixelaspectratio.md)
