Package apple.uikit.protocol
Interface UITabBarDelegate
-
- All Known Implementing Classes:
UITabBarController
public interface UITabBarDelegate___________________________________________________________________________________________________
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidtabBarDidBeginCustomizingItems(UITabBar tabBar, NSArray<? extends UITabBarItem> items)called after customize sheet is shown. items is current item listdefault voidtabBarDidEndCustomizingItemsChanged(UITabBar tabBar, NSArray<? extends UITabBarItem> items, boolean changed)called after customize sheet is hidden. items is new item listdefault voidtabBarDidSelectItem(UITabBar tabBar, UITabBarItem item)called when a new view is selected by the user (but not programatically)default voidtabBarWillBeginCustomizingItems(UITabBar tabBar, NSArray<? extends UITabBarItem> items)called before customize sheet is shown. items is current item listdefault voidtabBarWillEndCustomizingItemsChanged(UITabBar tabBar, NSArray<? extends UITabBarItem> items, boolean changed)called before customize sheet is hidden. items is new item list
-
-
-
Method Detail
-
tabBarDidBeginCustomizingItems
default void tabBarDidBeginCustomizingItems(UITabBar tabBar, NSArray<? extends UITabBarItem> items)
called after customize sheet is shown. items is current item list
-
tabBarDidEndCustomizingItemsChanged
default void tabBarDidEndCustomizingItemsChanged(UITabBar tabBar, NSArray<? extends UITabBarItem> items, boolean changed)
called after customize sheet is hidden. items is new item list
-
tabBarDidSelectItem
default void tabBarDidSelectItem(UITabBar tabBar, UITabBarItem item)
called when a new view is selected by the user (but not programatically)
-
tabBarWillBeginCustomizingItems
default void tabBarWillBeginCustomizingItems(UITabBar tabBar, NSArray<? extends UITabBarItem> items)
called before customize sheet is shown. items is current item list
-
tabBarWillEndCustomizingItemsChanged
default void tabBarWillEndCustomizingItemsChanged(UITabBar tabBar, NSArray<? extends UITabBarItem> items, boolean changed)
called before customize sheet is hidden. items is new item list
-
-