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

# webViewShow(_:)

Displays a web view’s window and moves it to the front.

```
optional func webViewShow(_ sender: WebView!)
```

## Parameters

`sender`

The web view that sent the message.

## Discussion

This method is typically used after a call to [`webView(_:createWebViewWith:)`](/documentation/WebKit/WebUIDelegate/webView(_:createWebViewWith:)), which creates a new window. The new window is not ordered to the front (or even shown) unless you implement this 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)