GlassVerticalBarCompression enum

What gives way when iPhone Duo's vertical bar strip runs out of height for both the tab bar and the pinned chrome.

Mirrors SwiftUI's toolbarVerticalCompressionBehavior(_:) and UIKit's verticalBarCompressionBehavior. The tab bar gives way by collapsing to a circle holding the selected tab, which expands again on a tap — the minimized pill of GlassTabBar.minimizable. The pinned chrome gives way by collapsing the groups that no longer fit into a ••• menu.

Inheritance
Available extensions

Values

automatic → const GlassVerticalBarCompression

The system decides, as natively: the pinned chrome overflows first, and the tab bar collapses on its own where the strip is shortest — the outer display in landscape.

prefersBarItems → const GlassVerticalBarCompression

The tab bar always collapses, leaving the strip to the bar items.

prefersTabBar → const GlassVerticalBarCompression

The tab bar never collapses; the bar items overflow instead.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<GlassVerticalBarCompression>
A constant List of the values in this enum, in order of their declaration.