---
title: contentSize
framework: tvuikit
role: symbol
role_heading: Instance Property
path: tvuikit/tvlockupview/contentsize
---

# contentSize

The size of the content view.

## Declaration

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

## Discussion

Discussion Use this property to explicitly set the size of the content view. If frame is explicitly set, it takes precedence over contentSize.

## See Also

### Setting view size

- [contentViewInsets](tvuikit/tvlockupview/contentviewinsets.md)
- [focusSizeIncrease](tvuikit/tvlockupview/focussizeincrease.md)
