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.
Platform Compatibility
iOS 27.1+ iPadOS 27.1+
Tags
SwiftUI Code
@Environment(\.toolbarVerticalEdge) var toolbarVerticalEdge
var body: some View {
Text(String(describing: toolbarVerticalEdge))
}Found an issue or have a suggestion?
Created: September 28, 2026Updated: September 28, 2026