<!--
{
  "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/UITableView/footerView(forSection:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableView(im)footerViewForSection:"
  },
  "title" : "footerView(forSection:)"
}
-->

# footerView(forSection:)

Returns the footer view for the specified section.

```
func footerView(forSection section: Int) -> UITableViewHeaderFooterView?
```

## Parameters

`section`

An index number that identifies a section of the table. Table views in a plain style have a section index of zero.

## Return Value

The footer view associated with the section, or `nil` if the section does not have a footer view.

## Discussion

---

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)