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

# showsOnlyWhenAncestorFocused

A Boolean value indicating whether titles and subtitles are displayed when a lockup view isn’t in focus.

```
var showsOnlyWhenAncestorFocused: Bool { get set }
```

## Discussion

Set this value to `FALSE` to display header and footer information while the lockup view is not in focus. Header and footer information is always shown when a lockup view is in focus, regardless of this property’s value.

---

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)