pub unsafe trait UIContextMenuInteractionAnimating: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn previewViewController(&self) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
unsafe fn addAnimations(&self, animations: &DynBlock<dyn Fn()>)
where Self: Sized + Message { ... }
unsafe fn addCompletion(&self, completion: &DynBlock<dyn Fn()>)
where Self: Sized + Message { ... }
}
Available on crate feature
UIContextMenuInteraction
only.Expand description
Provided Methods§
Sourceunsafe fn previewViewController(&self) -> Option<Retained<UIViewController>>
Available on crate features UIResponder
and UIViewController
only.
unsafe fn previewViewController(&self) -> Option<Retained<UIViewController>>
UIResponder
and UIViewController
only.Displayed preview view controller.
unsafe fn addAnimations(&self, animations: &DynBlock<dyn Fn()>)
Available on crate feature
block2
only.unsafe fn addCompletion(&self, completion: &DynBlock<dyn Fn()>)
Available on crate feature
block2
only.