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

# TVLockupHeaderFooterView

A view that contains header and footer information.

```
class TVLockupHeaderFooterView
```

## Overview

You can add header and footer views containing titles and subtitles to the lockup view. Headers and footers are always displayed when the lockup view is in focus.

## Topics

### Adding Titles

[`titleLabel`](/documentation/TVUIKit/TVLockupHeaderFooterView/titleLabel)

The title for a header or footer.

[`subtitleLabel`](/documentation/TVUIKit/TVLockupHeaderFooterView/subtitleLabel)

The subtitle for a header or footer.

### Configuring Focus Behavior

[`showsOnlyWhenAncestorFocused`](/documentation/TVUIKit/TVLockupHeaderFooterView/showsOnlyWhenAncestorFocused)

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

## Relationships

### Conforms To

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`Hashable`](/documentation/Swift/Hashable)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`TVLockupViewComponent`](/documentation/TVUIKit/TVLockupViewComponent)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

### Inherits From

[`UIView`](/documentation/UIKit/UIView)

---

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)