We're using WKWebView in a OS X application to host a web application.

The web application uses a html element like this to let the user select local 
file paths:

<input type="file" name="open">

This should display a file dialog. However, it doesn't seem to work with 
WKWebView.


Also, the new WKUIDelegate protocol doesn't seem to have an equivalent to the 
the 'old' WebUIDelegate/WebView method:

- (void)webView:(WebView *)sender 
runOpenPanelForFileButtonWithResultListener:(id<WebOpenPanelResultListener>)resultListener
 allowMultipleFiles:(BOOL)allowMultipleFiles;


Is there a way to configure WKWebView to make it work correctly with file 
<input>s?

There must be a way, this seems quite basic.

patrick
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
[email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to