<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebUIDelegate/webViewFooterHeight(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(pl)WebUIDelegate(im)webViewFooterHeight:"
  },
  "title" : "webViewFooterHeight(_:)"
}
-->

# webViewFooterHeight(_:)

Returns the height of the web view’s printed page footer.

```
optional func webViewFooterHeight(_ sender: WebView!) -> Float
```

## Parameters

`sender`

The web view that sent the message.

## Return Value

The height of the web view’s printed page footer. Returns `0.0` if no space is reserved for the footer.

## Discussion

The height returned by this method is used to calculate the rectangle passed to the [`webView(_:drawFooterIn:)`](/documentation/WebKit/WebUIDelegate/webView(_:drawFooterIn:)) method.

---

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)