Interface UITabBarDelegate

  • All Known Implementing Classes:
    UITabBarController

    public interface UITabBarDelegate
    ___________________________________________________________________________________________________
    • 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