# iPhone Duo toolbar checker

> Type the items in one toolbar: a title, an SF Symbol and what each one does. The checker applies Apple's iPhone Duo rules for vertical bars and the overflow menu, shows the order, and writes the SwiftUI toolbar for you. Nothing leaves your browser.

Use it here: https://ipip.fyi/tools/iphone-duo-toolbar-checker (it runs in your browser, nothing is uploaded).

## What it does

On iPhone Duo, the system moves navigation bars, toolbars and tab bars into a vertical strip on the side of the display: on the outer display when the Duo is closed, and on the inner one when it is turned sideways. Not every toolbar item can go there. This checker takes up to six items from one toolbar and tells you, item by item, whether it can sit in the side bar, how it looks in a horizontal bar and in the overflow menu, and what order Apple puts them in. Then it writes the SwiftUI `.toolbar` code with the placements and modifiers Apple names.

## Apple's rules for toolbar items on iPhone Duo

- **In the side bar, an item shows only its icon.** So every item that should be there needs an SF Symbol.
- **An item with a title and no icon never goes in the side bar.** Neither does an item built from a custom view.
- **In a horizontal bar, the system prefers the icon** and falls back to the title.
- **In the overflow menu, an item shows its icon and its title.** Apple says to give items both for the most adaptability.
- **Order:** Back or Close goes at the top, then prominent actions like Done, then the rest in their groups.
- **When space runs out,** items with a lower visibility priority move into the overflow menu before items with a higher one. Items in `ToolbarOverflowMenu` are always in the overflow menu.

In SwiftUI, a custom Back or Close button uses the `cancellationAction` placement and Done uses `topBarPinnedTrailing`. `axisBehavior(.horizontalOnly)` keeps an item out of the side bar, and `.verticalPreferred` asks for the side bar when both kinds of bar are shown. In UIKit the same ideas are `pinnedTrailingGroup`, `leadingItemGroups`, `axisBehavior`, `visibilityPriority` and `additionalOverflowItems`.

## What it can't tell you

It doesn't see your app, so it can't tell how much room your bar has in each pose, or which of two items with the same priority Apple moves to the overflow menu first. Apple doesn't say. It also can't check that an SF Symbol name exists. Test the result in the iPhone Duo simulator or Device Hub, closed, open and partly folded.

## Questions

**Why doesn't my toolbar button show in the iPhone Duo side bar?**

Apple says an item with a title and no icon, or an item built from a custom view, is never shown in a vertical bar. Give it an SF Symbol. Also check you use the bars your navigation stack or navigation controller provide, not a custom UIToolbar or UITabBar.

**When does iPhone Duo put the toolbar on the side?**

On the outer display when the Duo is closed, and on the inner display when it is turned sideways. The inner display in portrait keeps standard horizontal bars, per Apple's design guidelines.

**Which toolbar items go to the overflow menu first?**

Items with a lower visibility priority move first when there is not enough room. Set it with visibilityPriority in SwiftUI or UIKit. Items you put in ToolbarOverflowMenu are always there.

**Can I keep a toolbar item out of the side bar?**

Yes. In SwiftUI, add axisBehavior(.horizontalOnly) to the item, or set axisBehavior on the UIBarButtonItem in UIKit. It then only appears in a horizontal bar.

**Is anything I type sent to iPip?**

No. The checker runs in your browser and never sends your toolbar items anywhere.

## Sources

- [Apple Developer: Preparing your app for iPhone Duo](https://developer.apple.com/documentation/technologyoverviews/preparing-your-app-for-iphone-duo)
- [Human Interface Guidelines: Designing for iPhone Duo](https://developer.apple.com/design/human-interface-guidelines/designing-for-iphone-duo)
- [SwiftUI: axisBehavior(_:)](https://developer.apple.com/documentation/swiftui/toolbarcontent/axisbehavior(_:))
- [SwiftUI: visibilityPriority(_:)](https://developer.apple.com/documentation/swiftui/toolbarcontent/visibilitypriority(_:))
- [SwiftUI: ToolbarOverflowMenu](https://developer.apple.com/documentation/swiftui/toolbaroverflowmenu)

Updated December 6, 2026.

Source: https://ipip.fyi/tools/iphone-duo-toolbar-checker
