pub unsafe trait UIPopoverPresentationControllerDelegate: UIAdaptivePresentationControllerDelegate + IsMainThreadOnly {
// Provided methods
unsafe fn prepareForPopoverPresentation(
&self,
popover_presentation_controller: &UIPopoverPresentationController
)
where Self: Sized + Message { ... }
unsafe fn popoverPresentationControllerShouldDismissPopover(
&self,
popover_presentation_controller: &UIPopoverPresentationController
) -> bool
where Self: Sized + Message { ... }
unsafe fn popoverPresentationControllerDidDismissPopover(
&self,
popover_presentation_controller: &UIPopoverPresentationController
)
where Self: Sized + Message { ... }
unsafe fn popoverPresentationController_willRepositionPopoverToRect_inView(
&self,
popover_presentation_controller: &UIPopoverPresentationController,
rect: NonNull<CGRect>,
view: &mut Retained<UIView>
)
where Self: Sized + Message { ... }
}
Available on crate features
UIPopoverPresentationController
and UIPresentationController
only.Provided Methods§
unsafe fn prepareForPopoverPresentation( &self, popover_presentation_controller: &UIPopoverPresentationController )
unsafe fn popoverPresentationControllerShouldDismissPopover( &self, popover_presentation_controller: &UIPopoverPresentationController ) -> bool
👎Deprecated
unsafe fn popoverPresentationControllerDidDismissPopover( &self, popover_presentation_controller: &UIPopoverPresentationController )
👎Deprecated
unsafe fn popoverPresentationController_willRepositionPopoverToRect_inView( &self, popover_presentation_controller: &UIPopoverPresentationController, rect: NonNull<CGRect>, view: &mut Retained<UIView> )
Available on crate features
UIResponder
and UIView
only.