UIBarAppearance$Methods extension
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 - idiom → UIUserInterfaceIdiom
-
Available on UIBarAppearance, provided by the UIBarAppearance$Methods extension
The idiom that this appearance object targets.no setter - 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.