Interface UIPopoverPresentationControllerDelegate

    • Method Detail

      • popoverPresentationControllerWillRepositionPopoverToRectInView

        default void popoverPresentationControllerWillRepositionPopoverToRectInView​(@NotNull
                                                                                    @NotNull UIPopoverPresentationController popoverPresentationController,
                                                                                    @NotNull
                                                                                    @NotNull CGRect rect,
                                                                                    @NotNull
                                                                                    @NotNull 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

        @Deprecated
        default void popoverPresentationControllerDidDismissPopover​(@NotNull
                                                                    @NotNull UIPopoverPresentationController popoverPresentationController)
        Deprecated.
        Called on the delegate when the user has taken action to dismiss the popover. This is not called when the popover is dismissed programatically. API-Since: 8.0 Deprecated-Since: 13.0
      • popoverPresentationControllerShouldDismissPopover

        @Deprecated
        default boolean popoverPresentationControllerShouldDismissPopover​(@NotNull
                                                                          @NotNull UIPopoverPresentationController popoverPresentationController)
        Deprecated.
        Called on the delegate when the popover controller will dismiss the popover. Return NO to prevent the dismissal of the view. API-Since: 8.0 Deprecated-Since: 13.0
      • prepareForPopoverPresentation

        default void prepareForPopoverPresentation​(@NotNull
                                                   @NotNull UIPopoverPresentationController popoverPresentationController)