TabBarItemContentView

PROPERTY SETTING

  • The title displayed on the item, default is nil

  • The image used to represent the item, default is nil

  • The imageURL used to represent the item, default is nil

  • The image displayed when the tab bar item is selected, default is nil.

  • The imageURL displayed when the tab bar item is selected, default is nil.

  • A Boolean value indicating whether the item is enabled, default is YES.

  • A Boolean value indicating whether the item is selected, default is NO.

  • A Boolean value indicating whether the item is highlighted, default is NO.

  • Text color, default is UIColor(white: 0.57254902, alpha: 1.0).

  • Text color when highlighted, default is UIColor(red: 0.0, green: 0.47843137, blue: 1.0, alpha: 1.0).

  • Icon color, default is UIColor(white: 0.57254902, alpha: 1.0).

  • Icon color when highlighted, default is UIColor(red: 0.0, green: 0.47843137, blue: 1.0, alpha: 1.0).

  • Background color, default is UIColor.clear.

  • Background color when highlighted, default is UIColor.clear.

  • Icon imageView renderingMode, default is .alwaysTemplate.

  • Item content mode, default is .alwaysTemplate

  • The offset to use to adjust the title position, default is UIOffset.zero.

  • The insets that you use to determine the insets edge for contents, default is UIEdgeInsets.zero

  • Badge value, default is nil.

  • Badge color, default is nil.

  • Badge view, default is TabBarItemBadgeView().

  • Badge offset, default is UIOffset(horizontal: 6.0, vertical: -22.0).