pub unsafe trait UIViewControllerPreviewingDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn previewingContext_viewControllerForLocation(
&self,
previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>,
location: CGPoint
) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
unsafe fn previewingContext_commitViewController(
&self,
previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>,
view_controller_to_commit: &UIViewController
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIViewController
only.Provided Methods§
unsafe fn previewingContext_viewControllerForLocation( &self, previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>, location: CGPoint ) -> Option<Retained<UIViewController>>
👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
Available on crate feature
UIResponder
only.unsafe fn previewingContext_commitViewController( &self, previewing_context: &ProtocolObject<dyn UIViewControllerPreviewing>, view_controller_to_commit: &UIViewController )
👎Deprecated: UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction.
Available on crate feature
UIResponder
only.