Contents

webViewUnfocus(_:)

Relinquishes focus on a web view’s window.

Declaration

optional func webViewUnfocus(_ sender: WebView!)

Parameters

  • sender:

    The web view that sent the message.

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