Skip to content

Crash on iPad when using the share functionality #3

Description

@rhcpfan

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 😄

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions