WKWebViewController icon indicating copy to clipboard operation
WKWebViewController copied to clipboard

Crash on iPad when using the share functionality

Open rhcpfan opened this issue 6 years ago • 0 comments

The application crashes on iPad when trying to share the content of the WKWebViewController.

That's because the popoverPresentationController needs to have a source view when presenting on iPad.

Fatal Exception: NSGenericException UIPopoverPresentationController (<UIPopoverPresentationController: 0x133a5f6f0>) should have a non-nil sourceView or barButtonItem set before the presentation occurs.

Submitting a PR in a few minutes 😄

rhcpfan avatar Oct 09 '19 10:10 rhcpfan