Package apple.uikit.protocol
Interface UIPopoverPresentationControllerDelegate
-
- All Superinterfaces:
UIAdaptivePresentationControllerDelegate
public interface UIPopoverPresentationControllerDelegate extends UIAdaptivePresentationControllerDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidpopoverPresentationControllerDidDismissPopover(UIPopoverPresentationController popoverPresentationController)Called on the delegate when the user has taken action to dismiss the popover.default booleanpopoverPresentationControllerShouldDismissPopover(UIPopoverPresentationController popoverPresentationController)Called on the delegate when the popover controller will dismiss the popover.default voidpopoverPresentationControllerWillRepositionPopoverToRectInView(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.default voidprepareForPopoverPresentation(UIPopoverPresentationController popoverPresentationController)-
Methods inherited from interface apple.uikit.protocol.UIAdaptivePresentationControllerDelegate
adaptivePresentationStyleForPresentationController, adaptivePresentationStyleForPresentationControllerTraitCollection, presentationControllerDidAttemptToDismiss, presentationControllerDidDismiss, presentationControllerShouldDismiss, presentationControllerViewControllerForAdaptivePresentationStyle, presentationControllerWillDismiss, presentationControllerWillPresentWithAdaptiveStyleTransitionCoordinator
-
-
-
-
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.
-
prepareForPopoverPresentation
default void prepareForPopoverPresentation(UIPopoverPresentationController popoverPresentationController)
-
-