pub unsafe trait UINavigationControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn navigationController_willShowViewController_animated(
&self,
navigation_controller: &UINavigationController,
view_controller: &UIViewController,
animated: bool,
)
where Self: Sized + Message { ... }
fn navigationController_didShowViewController_animated(
&self,
navigation_controller: &UINavigationController,
view_controller: &UIViewController,
animated: bool,
)
where Self: Sized + Message { ... }
fn navigationControllerSupportedInterfaceOrientations(
&self,
navigation_controller: &UINavigationController,
) -> UIInterfaceOrientationMask
where Self: Sized + Message { ... }
fn navigationControllerPreferredInterfaceOrientationForPresentation(
&self,
navigation_controller: &UINavigationController,
) -> UIInterfaceOrientation
where Self: Sized + Message { ... }
fn navigationController_interactionControllerForAnimationController(
&self,
navigation_controller: &UINavigationController,
animation_controller: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>,
) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
where Self: Sized + Message { ... }
fn navigationController_animationControllerForOperation_fromViewController_toViewController(
&self,
navigation_controller: &UINavigationController,
operation: UINavigationControllerOperation,
from_vc: &UIViewController,
to_vc: &UIViewController,
) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
where Self: Sized + Message { ... }
}Available on crate feature
UINavigationController only.Expand description
Provided Methods§
Available on crate features
UIResponder and UIViewController only.Available on crate features
UIResponder and UIViewController only.Available on crate features
UIOrientation and UIResponder and UIViewController only.Available on crate features
UIOrientation and UIResponder and UIViewController only.Available on crate features
UIResponder and UIViewController and UIViewControllerTransitioning only.Available on crate features
UIResponder and UIViewController and UIViewControllerTransitioning only.Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".