Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reposition the share sheet after a rotation on iPad.
iOS does not automatically handle reposition of popovers after a rotation (except when presented from a UIBarButtonItem). This patch fixes the issue by retaining the displayed popover controller and a configuration block. These will be used at rotation events to dismiss the controller then re-present it after the rotation is finished and after calling the `updateDisplayedPopoverProperties` block to reset the popover anchor point.
- Loading branch information
Showing
1 changed file
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters