Interface UIPopoverPresentationControllerDelegate

    • Method Detail

      • popoverPresentationControllerWillRepositionPopoverToRectInView

        default void popoverPresentationControllerWillRepositionPopoverToRectInView​(UIPopoverPresentationController popoverPresentationController,
                                                                                    CGRect rect,
                                                                                    org.moe.natj.general.ptr.Ptr<UIView> view)
        -popoverPresentationController:willRepositionPopoverToRect:inView: is called on your delegate when the popover may require a different view or rectangle.
      • popoverPresentationControllerDidDismissPopover

        default void popoverPresentationControllerDidDismissPopover​(UIPopoverPresentationController popoverPresentationController)
        Called on the delegate when the user has taken action to dismiss the popover. This is not called when the popover is dimissed programatically.
      • popoverPresentationControllerShouldDismissPopover

        default boolean popoverPresentationControllerShouldDismissPopover​(UIPopoverPresentationController popoverPresentationController)
        Called on the delegate when the popover controller will dismiss the popover. Return NO to prevent the dismissal of the view.