pub unsafe trait UIPopoverControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn popoverControllerShouldDismissPopover(
&self,
popover_controller: &UIPopoverController,
) -> bool
where Self: Sized + Message { ... }
fn popoverControllerDidDismissPopover(
&self,
popover_controller: &UIPopoverController,
)
where Self: Sized + Message { ... }
unsafe fn popoverController_willRepositionPopoverToRect_inView(
&self,
popover_controller: &UIPopoverController,
rect: NonNull<CGRect>,
view: &mut Retained<UIView>,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIPopoverController only.Expand description
Provided Methods§
fn popoverControllerShouldDismissPopover( &self, popover_controller: &UIPopoverController, ) -> bool
👎Deprecated
fn popoverControllerDidDismissPopover( &self, popover_controller: &UIPopoverController, )
👎Deprecated
Sourceunsafe fn popoverController_willRepositionPopoverToRect_inView(
&self,
popover_controller: &UIPopoverController,
rect: NonNull<CGRect>,
view: &mut Retained<UIView>,
)
👎DeprecatedAvailable on crate features UIResponder and UIView and objc2-core-foundation only.
unsafe fn popoverController_willRepositionPopoverToRect_inView( &self, popover_controller: &UIPopoverController, rect: NonNull<CGRect>, view: &mut Retained<UIView>, )
UIResponder and UIView and objc2-core-foundation only.§Safety
rect must be a valid pointer.