<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewHeaderFooterView/init(reuseIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableViewHeaderFooterView(im)initWithReuseIdentifier:"
  },
  "title" : "init(reuseIdentifier:)"
}
-->

# init(reuseIdentifier:)

Initializes a header-footer view with the specified reuse identifier.

```
init(reuseIdentifier: String?)
```

## Parameters

`reuseIdentifier`

A string used to identify the header or footer view if it’s to be reused by multiple sections. Pass `nil` if the view isn’t to be reused. You should use the same reuse identifier for all header or footer views of the same form.

## Return Value

An initialized [`UITableViewHeaderFooterView`](/documentation/UIKit/UITableViewHeaderFooterView) object or `nil` if the object could not be created.

## Discussion

Once set, you can’t change the reuse identifier for the returned view object.

---

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)