WKWebViewController
WKWebViewController copied to clipboard
Crash on iPad when using the share functionality
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 😄