<!--
{
  "availability" : [
    "tvOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TVUIKit",
  "identifier" : "/documentation/TVUIKit/TVLockupView/contentViewInsets",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "TVUIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVLockupView(py)contentViewInsets"
  },
  "title" : "contentViewInsets"
}
-->

# contentViewInsets

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

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

## Discussion

Use negative values for positive spacing. The <doc://com.apple.documentation/documentation/AppKit/NSDirectionalEdgeInsets/top> and <doc://com.apple.documentation/documentation/AppKit/NSDirectionalEdgeInsets/bottom> values represent the spacing between the content view and the header and footer views, respectively. The <doc://com.apple.documentation/documentation/AppKit/NSDirectionalEdgeInsets/leading> and <doc://com.apple.documentation/documentation/AppKit/NSDirectionalEdgeInsets/trailing> values represent the spacing between the content view and the lockup view. The default value is <doc://com.apple.documentation/documentation/AppKit/NSDirectionalEdgeInsetsZero>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)