Package apple.uikit.protocol
Interface UIPopoverPresentationControllerDelegate
-
- All Superinterfaces:
UIAdaptivePresentationControllerDelegate
public interface UIPopoverPresentationControllerDelegate extends UIAdaptivePresentationControllerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidpopoverPresentationControllerDidDismissPopover(@NotNull UIPopoverPresentationController popoverPresentationController)Deprecated.default booleanpopoverPresentationControllerShouldDismissPopover(@NotNull UIPopoverPresentationController popoverPresentationController)Deprecated.default voidpopoverPresentationControllerWillRepositionPopoverToRectInView(@NotNull UIPopoverPresentationController popoverPresentationController, @NotNull CGRect rect, @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.default voidprepareForPopoverPresentation(@NotNull UIPopoverPresentationController popoverPresentationController)-
Methods inherited from interface apple.uikit.protocol.UIAdaptivePresentationControllerDelegate
adaptivePresentationStyleForPresentationController, adaptivePresentationStyleForPresentationControllerTraitCollection, presentationControllerDidAttemptToDismiss, presentationControllerDidDismiss, presentationControllerPrepareAdaptivePresentationController, presentationControllerShouldDismiss, presentationControllerViewControllerForAdaptivePresentationStyle, presentationControllerWillDismiss, presentationControllerWillPresentWithAdaptiveStyleTransitionCoordinator
-
-
-
-
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)
-
-