When you have a WKWebView in an OSX application, when you press a button, you can\'t select a file from your harddisk. How would you
Here is the 100% working solution for WKWebview "File Upload" Problem.
You just need to implement the UIDelegate:
- (void)webView:(WKWebView *)webView runOpenPanelWithParameters:(WKOpenPanelParameters *)parameters initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSArray *URLs))completionHandler;
Follow this link for more description about this delegate: RunOpenPanel Delegate