UITabBarAppearance extension type

UITabBarAppearance

on
  • ObjCObject
Implemented types
Available extensions

Constructors

UITabBarAppearance()
Returns a new instance of UITabBarAppearance constructed with the default new method.
UITabBarAppearance.as(ObjCObject other)
Constructs a UITabBarAppearance that points to the same underlying object as other.
UITabBarAppearance.fromPointer(Pointer<ObjCObjectImpl> other, {bool retain = false, bool release = false})
Constructs a UITabBarAppearance that wraps the given raw object pointer.

Properties

backgroundColor UIColor?

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

A color to use for the bar background. This color is composited over backgroundEffects.
getter/setter pair
backgroundEffect UIBlurEffect?

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

A specific blur effect to use for the bar background. This effect is composited first when constructing the bar's background.
getter/setter pair
backgroundImage UIImage?

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

An image to use for the bar background. This image is composited over the backgroundColor, and resized per the backgroundImageContentMode.
getter/setter pair
backgroundImageContentMode UIViewContentMode

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

The content mode to use when rendering the backgroundImage. Defaults to UIViewContentModeScaleToFill. UIViewContentModeRedraw will be reinterpreted as UIViewContentModeScaleToFill.
getter/setter pair
compactInlineLayoutAppearance UITabBarItemAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

The appearance for the compact inline tab bar item layout
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idiom UIUserInterfaceIdiom

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

The idiom that this appearance object targets.
no setter
inlineLayoutAppearance UITabBarItemAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

The appearance for the inline tab bar item layout
getter/setter pair
object$ → ObjCObject
final
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionIndicatorImage UIImage?

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

An image that is rendered behind the selected UITabBarItem and above the tab bar's background. Modified by selectionIndicatorTintColor when appropriate.
getter/setter pair
selectionIndicatorTintColor UIColor?

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

A color to use for the selectionIndicator, its specific behavior depends on the value of selectionIndicatorImage. If selectionIndicatorImage is nil, then the selectionIndicatorTintColor is used to color the UITabBar's default selection indicator; a nil or clearColor selectionIndicatorTintColor will result in no indicator. If selectionIndicatorImage is a template image, then the selectionIndicatorTintColor is used to tint the image; a nil or clearColor selectionIndicatorTintColor will also result in no indicator. If the selectionIndicatorImage is not a template image, then it will be rendered without respect to the value of selectionIndicatorTintColor.
getter/setter pair
shadowColor UIColor?

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

A color to use for the shadow. Its specific behavior depends on the value of shadowImage. If shadowImage is nil, then the shadowColor is used to color the bar's default shadow; a nil or clearColor shadowColor will result in no shadow. If shadowImage is a template image, then the shadowColor is used to tint the image; a nil or clearColor shadowColor will also result in no shadow. If the shadowImage is not a template image, then it will be rendered regardless of the value of shadowColor.
getter/setter pair
shadowImage UIImage?

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

Use an image for the shadow. See shadowColor for how they interact.
getter/setter pair
stackedItemPositioning UITabBarItemPositioning

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

Determines how items in the tab bar lay out in the stacked item layout
getter/setter pair
stackedItemSpacing double

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

stackedItemSpacing
getter/setter pair
stackedItemWidth double

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

stackedItemWidth
getter/setter pair
stackedLayoutAppearance UITabBarItemAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

The appearance for the stacked tab bar item layout
getter/setter pair

Methods

configureWithDefaultBackground() → void

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

Reset background and shadow properties to their defaults.
configureWithOpaqueBackground() → void

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

Reset background and shadow properties to display theme-appropriate opaque colors.
configureWithTransparentBackground() → void

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

Reset background and shadow properties to be transparent.
copy() UIBarAppearance

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

copy
copy() UITabBarAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

copy
encodeWithCoder(NSCoder coder) → void

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

encodeWithCoder:
init() UIBarAppearance

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

init
init() UITabBarAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

init
initWithBarAppearance(UIBarAppearance barAppearance) UIBarAppearance

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

Constructs a new bar appearance, copying all relevant properties from the given appearance object. This initializer is useful for migrating configuration between UIBarAppearance subclasses. For example, you can initialize a UINavigationBarAppearance with a UIToolbarAppearance instance, and shared attributes will be identical between the two.
initWithBarAppearance(UIBarAppearance barAppearance) UITabBarAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

Constructs a new bar appearance, copying all relevant properties from the given appearance object. This initializer is useful for migrating configuration between UIBarAppearance subclasses. For example, you can initialize a UINavigationBarAppearance with a UIToolbarAppearance instance, and shared attributes will be identical between the two.
initWithCoder(NSCoder coder) UIBarAppearance?

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

initWithCoder:
initWithCoder(NSCoder coder) UITabBarAppearance?

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

initWithCoder:
initWithIdiom(UIUserInterfaceIdiom idiom) UIBarAppearance

Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension

Constructs a new bar appearance, targeting the passed-in idiom as a hint. Not all platforms support all available idioms. See the idiom property to determine the resolved idiom.
initWithIdiom(UIUserInterfaceIdiom idiom) UITabBarAppearance

Available on UITabBarAppearance, provided by the UITabBarAppearance$Methods extension

Constructs a new bar appearance, targeting the passed-in idiom as a hint. Not all platforms support all available idioms. See the idiom property to determine the resolved idiom.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc() UITabBarAppearance
alloc
allocWithZone(Pointer<NSZone> zone) UITabBarAppearance
allocWithZone:
getSupportsSecureCoding() bool
supportsSecureCoding
isA(ObjCObject obj) bool
Returns whether obj is an instance of UITabBarAppearance.
new$() UITabBarAppearance
new