public interface UITabBarControllerDelegate
Modifier and Type | Method and Description |
---|---|
default void |
didEndCustomizingViewControllers(UITabBarController controller,
List<UIViewController> view,
boolean changed)
It is used after the dismissal of the customization sheet.
|
default void |
didSelectViewController(UITabBarController controller,
UIViewController view)
It is used in order to handle the selection of an item on the tab bar.
|
default boolean |
shouldSelectViewController(UITabBarController controller,
UIViewController view)
It is used in order to control the activation of the specified view
controller after a tap on the bar.
|
default void |
willBeginCustomizingViewControllers(UITabBarController controller,
List<UIViewController> view)
It is used before the customization sheet is displayed.
|
default void |
willEndCustomizingViewControllers(UITabBarController controller,
List<UIViewController> view,
boolean changed)
It is used before the dismissal of the customization sheet.
|
default boolean shouldSelectViewController(UITabBarController controller, UIViewController view)
controller
- The tab bar controller that corresponds to this
delegate.view
- The view controller to be activated.default void didSelectViewController(UITabBarController controller, UIViewController view)
controller
- The tab bar controller that corresponds to this
delegate.view
- The view controller of the selected item.default void willBeginCustomizingViewControllers(UITabBarController controller, List<UIViewController> view)
controller
- The tab bar controller that corresponds to this
delegate.view
- The view controllers of the customization sheet.default void willEndCustomizingViewControllers(UITabBarController controller, List<UIViewController> view, boolean changed)
controller
- The tab bar controller that corresponds to this
delegate.view
- The view controllers of the customization sheet.changed
- TRUE if items of the tab bar changed.default void didEndCustomizingViewControllers(UITabBarController controller, List<UIViewController> view, boolean changed)
controller
- The tab bar controller that corresponds to this
delegate.view
- The view controllers of the customization sheet.changed
- TRUE if items of the tab bar changed.Copyright © 2020. All rights reserved.