Contents

webView(_:runOpenPanelForFileButtonWith:allowMultipleFiles:)

Displays an open panel for a file input control.

Declaration

optional func webView(_ sender: WebView!, runOpenPanelForFileButtonWith resultListener: (any WebOpenPanelResultListener)!, allowMultipleFiles: Bool)

Parameters

  • sender:

    The web view that sent the message.

  • resultListener:

    See the Webopenpanelresultlistener protocol for how to set these values.

  • allowMultipleFiles:

    If True, the open panel should allow multiple files to be selected; otherwise, it should not.

See Also

Opening Panels