TabBarItemContentView
@MainActor
open class TabBarItemContentView : UIView
Undocumented
-
The title displayed on the item, default is
nilDeclaration
Swift
@MainActor open var title: String? { get set } -
The image used to represent the item, default is
nilDeclaration
Swift
@MainActor open var image: UIImage? { get set } -
The imageURL used to represent the item, default is
nilDeclaration
Swift
@MainActor open var imageURL: String? { get set } -
The image displayed when the tab bar item is selected, default is
nil.Declaration
Swift
@MainActor open var selectedImage: UIImage? { get set } -
The imageURL displayed when the tab bar item is selected, default is
nil.Declaration
Swift
@MainActor open var selectedImageURL: String? { get set } -
A Boolean value indicating whether the item is enabled, default is
YES.Declaration
Swift
@MainActor open var enabled: Bool -
A Boolean value indicating whether the item is selected, default is
NO.Declaration
Swift
@MainActor open var selected: Bool -
A Boolean value indicating whether the item is highlighted, default is
NO.Declaration
Swift
@MainActor open var highlighted: Bool -
Text color, default is
UIColor(white: 0.57254902, alpha: 1.0).Declaration
Swift
@MainActor open var textColor: UIColor { get set } -
Text color when highlighted, default is
UIColor(red: 0.0, green: 0.47843137, blue: 1.0, alpha: 1.0).Declaration
Swift
@MainActor open var highlightTextColor: UIColor { get set } -
Icon color, default is
UIColor(white: 0.57254902, alpha: 1.0).Declaration
Swift
@MainActor open var iconColor: UIColor { get set } -
Icon color when highlighted, default is
UIColor(red: 0.0, green: 0.47843137, blue: 1.0, alpha: 1.0).Declaration
Swift
@MainActor open var highlightIconColor: UIColor { get set } -
Background color, default is
UIColor.clear.Declaration
Swift
@MainActor open var backdropColor: UIColor { get set } -
Background color when highlighted, default is
UIColor.clear.Declaration
Swift
@MainActor open var highlightBackdropColor: UIColor { get set } -
Icon imageView renderingMode, default is
.alwaysTemplate.Declaration
Swift
@MainActor open var renderingMode: UIImage.RenderingMode { get set } -
Item content mode, default is
.alwaysTemplateDeclaration
Swift
@MainActor open var itemContentMode: TabBarItemContentMode { get set } -
The offset to use to adjust the title position, default is
UIOffset.zero.Declaration
Swift
@MainActor open var titlePositionAdjustment: UIOffset { get set } -
The insets that you use to determine the insets edge for contents, default is
UIEdgeInsets.zeroDeclaration
Swift
@MainActor open var insets: UIEdgeInsets { get set } -
The insets that you use to determine the insets edge for image, default is
UIEdgeInsets.zeroDeclaration
Swift
@MainActor open var imageInsets: UIEdgeInsets { get set } -
Undocumented
Declaration
Swift
@MainActor open var imageView: UIImageView -
Undocumented
Declaration
Swift
@MainActor open var titleLabel: UILabel -
Badge value, default is
nil.Declaration
Swift
@MainActor open var badgeValue: String? { get set } -
Badge color, default is
nil.Declaration
Swift
@MainActor open var badgeColor: UIColor? { get set } -
Badge view, default is
TabBarItemBadgeView().Declaration
Swift
@MainActor open var badgeView: TabBarItemBadgeView { get set } -
Badge offset, default is
UIOffset(horizontal: 6.0, vertical: -22.0).Declaration
Swift
@MainActor open var badgeOffset: UIOffset { get set }
-
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect) -
Undocumented
Declaration
Swift
@MainActor public required init?(coder aDecoder: NSCoder) -
Undocumented
Declaration
Swift
@MainActor open func updateDisplay() -
Undocumented
Declaration
Swift
@MainActor open func updateLayout()
-
Undocumented
Declaration
Swift
@MainActor open func selectAnimation(animated: Bool, completion: (@MainActor @Sendable () -> Void)?) -
Undocumented
Declaration
Swift
@MainActor open func deselectAnimation(animated: Bool, completion: (@MainActor @Sendable () -> Void)?) -
Undocumented
Declaration
Swift
@MainActor open func reselectAnimation(animated: Bool, completion: (@MainActor @Sendable () -> Void)?) -
Undocumented
Declaration
Swift
@MainActor open func highlightAnimation(animated: Bool, completion: (@MainActor @Sendable () -> Void)?) -
Undocumented
Declaration
Swift
@MainActor open func dehighlightAnimation(animated: Bool, completion: (@MainActor @Sendable () -> Void)?) -
Undocumented
Declaration
Swift
@MainActor open func badgeChangedAnimation(animated: Bool, completion: (@MainActor @Sendable () -> Void)?)
View on GitHub