pub unsafe trait UITabBarControllerDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn tabBarController_shouldSelectViewController(
&self,
tab_bar_controller: &UITabBarController,
view_controller: &UIViewController
) -> bool
where Self: Sized + Message { ... }
unsafe fn tabBarController_didSelectViewController(
&self,
tab_bar_controller: &UITabBarController,
view_controller: &UIViewController
)
where Self: Sized + Message { ... }
unsafe fn tabBarController_willBeginCustomizingViewControllers(
&self,
tab_bar_controller: &UITabBarController,
view_controllers: &NSArray<UIViewController>
)
where Self: Sized + Message { ... }
unsafe fn tabBarController_willEndCustomizingViewControllers_changed(
&self,
tab_bar_controller: &UITabBarController,
view_controllers: &NSArray<UIViewController>,
changed: bool
)
where Self: Sized + Message { ... }
unsafe fn tabBarController_didEndCustomizingViewControllers_changed(
&self,
tab_bar_controller: &UITabBarController,
view_controllers: &NSArray<UIViewController>,
changed: bool
)
where Self: Sized + Message { ... }
unsafe fn tabBarControllerSupportedInterfaceOrientations(
&self,
tab_bar_controller: &UITabBarController
) -> UIInterfaceOrientationMask
where Self: Sized + Message { ... }
unsafe fn tabBarControllerPreferredInterfaceOrientationForPresentation(
&self,
tab_bar_controller: &UITabBarController
) -> UIInterfaceOrientation
where Self: Sized + Message { ... }
unsafe fn tabBarController_interactionControllerForAnimationController(
&self,
tab_bar_controller: &UITabBarController,
animation_controller: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>
) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
where Self: Sized + Message { ... }
unsafe fn tabBarController_animationControllerForTransitionFromViewController_toViewController(
&self,
tab_bar_controller: &UITabBarController,
from_vc: &UIViewController,
to_vc: &UIViewController
) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
where Self: Sized + Message { ... }
}
Available on crate feature
UITabBarController
only.Provided Methods§
unsafe fn tabBarController_shouldSelectViewController( &self, tab_bar_controller: &UITabBarController, view_controller: &UIViewController ) -> bool
Available on crate features
UIResponder
and UIViewController
only.unsafe fn tabBarController_didSelectViewController( &self, tab_bar_controller: &UITabBarController, view_controller: &UIViewController )
Available on crate features
UIResponder
and UIViewController
only.unsafe fn tabBarController_willBeginCustomizingViewControllers( &self, tab_bar_controller: &UITabBarController, view_controllers: &NSArray<UIViewController> )
Available on crate features
UIResponder
and UIViewController
only.unsafe fn tabBarController_willEndCustomizingViewControllers_changed( &self, tab_bar_controller: &UITabBarController, view_controllers: &NSArray<UIViewController>, changed: bool )
Available on crate features
UIResponder
and UIViewController
only.unsafe fn tabBarController_didEndCustomizingViewControllers_changed( &self, tab_bar_controller: &UITabBarController, view_controllers: &NSArray<UIViewController>, changed: bool )
Available on crate features
UIResponder
and UIViewController
only.unsafe fn tabBarControllerSupportedInterfaceOrientations( &self, tab_bar_controller: &UITabBarController ) -> UIInterfaceOrientationMask
Available on crate features
UIOrientation
and UIResponder
and UIViewController
only.unsafe fn tabBarControllerPreferredInterfaceOrientationForPresentation( &self, tab_bar_controller: &UITabBarController ) -> UIInterfaceOrientation
Available on crate features
UIOrientation
and UIResponder
and UIViewController
only.unsafe fn tabBarController_interactionControllerForAnimationController( &self, tab_bar_controller: &UITabBarController, animation_controller: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning> ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
Available on crate features
UIResponder
and UIViewController
and UIViewControllerTransitioning
only.unsafe fn tabBarController_animationControllerForTransitionFromViewController_toViewController( &self, tab_bar_controller: &UITabBarController, from_vc: &UIViewController, to_vc: &UIViewController ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
Available on crate features
UIResponder
and UIViewController
and UIViewControllerTransitioning
only.