iPhone SwiftUI layouts
Explore SwiftUI APIs, components, and modifiers with interactive iPhone previews, Swift code, and Apple documentation. Compare every available orientation, appearance, and design.
206elements
View
Toolbar Vertical Edge
This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement.
Explore Toolbar Vertical Edge on iPhone in portrait and landscape, with SwiftUI code and Apple API documentation.
SwiftUI code
@Environment(\.toolbarVerticalEdge) var toolbarVerticalEdge
var body: some View {
Text(String(describing: toolbarVerticalEdge))
}Compatibility
iOS 27.1+ iPadOS 27.1+
Tags
Found an issue or have a suggestion?
All variants
Every available iPhone screenshot for Toolbar Vertical Edge.