---
title: contentViewInsets
framework: tvuikit
role: symbol
role_heading: Instance Property
path: tvuikit/tvlockupview/contentviewinsets
---

# contentViewInsets

The spacing between the content view and its peer and containing views.

## Declaration

```swift
var contentViewInsets: NSDirectionalEdgeInsets { get set }
```

## Discussion

Discussion Use negative values for positive spacing. The top and bottom values represent the spacing between the content view and the header and footer views, respectively. The leading and trailing values represent the spacing between the content view and the lockup view. The default value is NSDirectionalEdgeInsetsZero.

## See Also

### Setting view size

- [contentSize](tvuikit/tvlockupview/contentsize.md)
- [focusSizeIncrease](tvuikit/tvlockupview/focussizeincrease.md)
