Interface UITabBarDelegate

  • All Known Implementing Classes:
    UITabBarController

    public interface UITabBarDelegate
    ___________________________________________________________________________________________________
    • Method Detail

      • tabBarDidBeginCustomizingItems

        default void tabBarDidBeginCustomizingItems​(@NotNull
                                                    @NotNull UITabBar tabBar,
                                                    @NotNull
                                                    @NotNull NSArray<? extends UITabBarItem> items)
        called after customize sheet is shown. items is current item list
      • tabBarDidEndCustomizingItemsChanged

        default void tabBarDidEndCustomizingItemsChanged​(@NotNull
                                                         @NotNull UITabBar tabBar,
                                                         @NotNull
                                                         @NotNull NSArray<? extends UITabBarItem> items,
                                                         boolean changed)
        called after customize sheet is hidden. items is new item list
      • tabBarDidSelectItem

        default void tabBarDidSelectItem​(@NotNull
                                         @NotNull UITabBar tabBar,
                                         @NotNull
                                         @NotNull UITabBarItem item)
        called when a new view is selected by the user (but not programmatically)
      • tabBarWillBeginCustomizingItems

        default void tabBarWillBeginCustomizingItems​(@NotNull
                                                     @NotNull UITabBar tabBar,
                                                     @NotNull
                                                     @NotNull NSArray<? extends UITabBarItem> items)
        called before customize sheet is shown. items is current item list
      • tabBarWillEndCustomizingItemsChanged

        default void tabBarWillEndCustomizingItemsChanged​(@NotNull
                                                          @NotNull UITabBar tabBar,
                                                          @NotNull
                                                          @NotNull NSArray<? extends UITabBarItem> items,
                                                          boolean changed)
        called before customize sheet is hidden. items is new item list