UIBarAppearance extension type
UIBarAppearance
- on
-
- ObjCObject
- Implementers
- Available extensions
Constructors
- UIBarAppearance()
-
Returns a new instance of UIBarAppearance constructed with the default
newmethod. - UIBarAppearance.as(ObjCObject other)
-
Constructs a UIBarAppearance that points to the same underlying object as
other. -
UIBarAppearance.fromPointer(Pointer<
ObjCObjectImpl> other, {bool retain = false, bool release = false}) - Constructs a UIBarAppearance 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 - 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 - object$ → ObjCObject
-
final
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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
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 -
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 -
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. -
initWithCoder(
NSCoder coder) → UIBarAppearance? -
Available on UIBarAppearance, provided by the UIBarAppearance$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. -
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(
) → UIBarAppearance - alloc
-
allocWithZone(
Pointer< NSZone> zone) → UIBarAppearance - allocWithZone:
-
getSupportsSecureCoding(
) → bool - supportsSecureCoding
-
isA(
ObjCObject obj) → bool -
Returns whether
objis an instance of UIBarAppearance. -
new$(
) → UIBarAppearance - new