Contents

webView(_:contextMenuWillPresentForElement:)

Tells the delegate that the web view is about to present the contextual menu for the specified element.

Declaration

optional func webView(_ webView: WKWebView, contextMenuWillPresentForElement elementInfo: WKContextMenuElementInfo)

Parameters

  • webView:

    The web view in which the interaction occurred.

  • elementInfo:

    An object that contains information about the element involved in the interaction.

See Also

Displaying a contextual menu