<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarItemVisibilityPriority/init(lowerThan:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI29ToolbarItemVisibilityPriorityV9lowerThanA2C_tcfc"
  },
  "title" : "init(lowerThan:)"
}
-->

# init(lowerThan:)

Creates a priority lower than the specified value.

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

## 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
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)