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

# webViewStatusText(_:)

Returns the current status message from a web view’s window.

```
optional func webViewStatusText(_ sender: WebView!) -> String!
```

## Parameters

`sender`

The web view that sent the message.

## Return Value

The status message displayed in the web view’s window if one has been set with the [`webView(_:setStatusText:)`](/documentation/WebKit/WebUIDelegate/webView(_:setStatusText:)) method; otherwise, `nil`.

## 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)