---
title: "init(lowerThan:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/toolbaritemvisibilitypriority/init(lowerthan:)"
---

# init(lowerThan:)

Creates a priority lower than the specified value.

## Declaration

```swift
init(lowerThan other: ToolbarItemVisibilityPriority)
```

## Discussion

Discussion The priority is lower than other but doesn’t cross below the next lower system priority. For example, ToolbarItemVisibilityPriority(lowerThan: .high) returns a value that is less than .high but greater than .automatic. Priorities created with the same base value are equal: let x = ToolbarItemVisibilityPriority(lowerThan: .high) let y = ToolbarItemVisibilityPriority(lowerThan: .high) x == y // true

## See Also

### Creating custom priorities

- [init(higherThan:)](swiftui/toolbaritemvisibilitypriority/init(higherthan:).md)
