Class UITabBar

All Implemented Interfaces:
CALayerDelegate, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UISpringLoadedInteractionSupporting, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

public class UITabBar
extends UIView
implements UISpringLoadedInteractionSupporting
  • Constructor Details

    • UITabBar

      public UITabBar()
    • UITabBar

      protected UITabBar​(NSObject.Handle h, long handle)
    • UITabBar

      protected UITabBar​(NSObject.SkipInit skipInit)
    • UITabBar

      public UITabBar​(CGRect frame)
    • UITabBar

      public UITabBar​(NSCoder coder)
  • Method Details

    • getDelegate

      public UITabBarDelegate getDelegate()
    • setDelegate

      public void setDelegate​(UITabBarDelegate v)
    • getItems

      public NSArray<UITabBarItem> getItems()
    • setItems

      public void setItems​(NSArray<UITabBarItem> v)
    • getSelectedItem

      public UITabBarItem getSelectedItem()
    • setSelectedItem

      public void setSelectedItem​(UITabBarItem v)
    • isCustomizing

      public boolean isCustomizing()
    • getTintColor

      public UIColor getTintColor()
      Overrides:
      getTintColor in class UIView
    • setTintColor

      public void setTintColor​(UIColor v)
      Overrides:
      setTintColor in class UIView
    • getBarTintColor

      public UIColor getBarTintColor()
    • setBarTintColor

      public void setBarTintColor​(UIColor v)
    • getUnselectedItemTintColor

      public UIColor getUnselectedItemTintColor()
      Since:
      Available in iOS 10.0 and later.
    • setUnselectedItemTintColor

      public void setUnselectedItemTintColor​(UIColor v)
      Since:
      Available in iOS 10.0 and later.
    • getSelectedImageTintColor

      @Deprecated public UIColor getSelectedImageTintColor()
      Deprecated.
      Deprecated in iOS 8.0. Use tintColor
    • setSelectedImageTintColor

      @Deprecated public void setSelectedImageTintColor​(UIColor v)
      Deprecated.
      Deprecated in iOS 8.0. Use tintColor
    • getBackgroundImage

      public UIImage getBackgroundImage()
    • setBackgroundImage

      public void setBackgroundImage​(UIImage v)
    • getSelectionIndicatorImage

      public UIImage getSelectionIndicatorImage()
    • setSelectionIndicatorImage

      public void setSelectionIndicatorImage​(UIImage v)
    • getShadowImage

      public UIImage getShadowImage()
    • setShadowImage

      public void setShadowImage​(UIImage v)
    • getItemPositioning

      public UITabBarItemPositioning getItemPositioning()
    • setItemPositioning

      public void setItemPositioning​(UITabBarItemPositioning v)
    • getItemWidth

      public double getItemWidth()
    • setItemWidth

      public void setItemWidth​(double v)
    • getItemSpacing

      public double getItemSpacing()
    • setItemSpacing

      public void setItemSpacing​(double v)
    • getBarStyle

      public UIBarStyle getBarStyle()
    • setBarStyle

      public void setBarStyle​(UIBarStyle v)
    • isTranslucent

      public boolean isTranslucent()
    • setTranslucent

      public void setTranslucent​(boolean v)
    • getStandardAppearance

      public UITabBarAppearance getStandardAppearance()
      Since:
      Available in iOS 13.0 and later.
    • setStandardAppearance

      public void setStandardAppearance​(UITabBarAppearance v)
      Since:
      Available in iOS 13.0 and later.
    • getScrollEdgeAppearance

      public UITabBarAppearance getScrollEdgeAppearance()
      Since:
      Available in iOS 15.0 and later.
    • setScrollEdgeAppearance

      public void setScrollEdgeAppearance​(UITabBarAppearance v)
      Since:
      Available in iOS 15.0 and later.
    • getLayerClass

      public static Class<? extends CALayer> getLayerClass()
    • isSpringLoaded

      public boolean isSpringLoaded()
      Specified by:
      isSpringLoaded in interface UISpringLoadedInteractionSupporting
      Since:
      Available in iOS 11.0 and later.
    • setSpringLoaded

      public void setSpringLoaded​(boolean v)
      Specified by:
      setSpringLoaded in interface UISpringLoadedInteractionSupporting
      Since:
      Available in iOS 11.0 and later.
    • setItems

      public void setItems​(NSArray<UITabBarItem> items, boolean animated)
    • beginCustomizing

      public void beginCustomizing​(NSArray<UITabBarItem> items)
    • endCustomizing

      public boolean endCustomizing​(boolean animated)
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute attribute)
      Since:
      Available in iOS 9.0 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)
      Since:
      Available in iOS 10.0 and later.