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§

source

unsafe fn prepareForPopoverPresentation( &self, popover_presentation_controller: &UIPopoverPresentationController )
where Self: Sized + Message,

source

unsafe fn popoverPresentationControllerShouldDismissPopover( &self, popover_presentation_controller: &UIPopoverPresentationController ) -> bool
where Self: Sized + Message,

👎Deprecated
source

unsafe fn popoverPresentationControllerDidDismissPopover( &self, popover_presentation_controller: &UIPopoverPresentationController )
where Self: Sized + Message,

👎Deprecated
source

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 UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UIPopoverPresentationControllerDelegate

source§

const NAME: &'static str = "UIPopoverPresentationControllerDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UIPopoverPresentationControllerDelegate

Implementations on Foreign Types§

source§

impl<T> UIPopoverPresentationControllerDelegate for ProtocolObject<T>

Implementors§