init(higherThan:)
Creates a priority higher than the specified value.
Declaration
init(higherThan other: ToolbarItemVisibilityPriority)Discussion
The priority is higher than other but doesn’t cross above the next higher system priority. For example, ToolbarItemVisibilityPriority(higherThan: .high) returns a value that is greater than .high.
Priorities created with the same base value are equal:
let x = ToolbarItemVisibilityPriority(higherThan: .high)
let y = ToolbarItemVisibilityPriority(higherThan: .high)
x == y // true