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

# contentSize

The size of the content view.

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

## Discussion

Use this property to explicitly set the size of the content view. If <doc://com.apple.documentation/documentation/UIKit/UIView/frame> is explicitly set, it takes precedence over `contentSize`.

---

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)