---
title: "webViewUnfocus(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/webuidelegate/webviewunfocus(_:)"
---

# webViewUnfocus(_:)

Relinquishes focus on a web view’s window.

## Declaration

```swift
optional func webViewUnfocus(_ sender: WebView!)
```

## Parameters

- `sender`: The web view that sent the message.

## Discussion

Discussion This method releases focus for the entire window. If you display multiple web views in a window, you might instead want to change the input focus to another view, using the webView(_:makeFirstResponder:) method.

## See Also

### Making Windows Key and Main

- [webViewFocus(_:)](webkit/webuidelegate/webviewfocus(_:).md)
