iPhone Duo Developer Hub · Blog

Strike a Pose: Adaptive Layouts for iPhone Duo

Apple Developer session · 18m · Watch on YouTube ↗

Strike a Pose: Adaptive Layouts for iPhone Duo

Source: Strike a pose with adaptive layouts on iPhone Duo (Apple Developer) · 18 min

By Maria (HID) and Harry (UI Frameworks).

Every layout guide says moves things around. This session gives you the tools to do it well — two new mechanisms from Apple: displacement patterns (the design thinking) and Arrangements (the API to build split/overlay layouts). Plus the new Reserved Regions API that makes custom displacement practical.

Design thinking: displaced, not destroyed

"Great design for iPhone Duo hinges on knowing when to adapt." When the device folds, content shouldn't break — it should displace: move, resize, or reorganize into the region that best supports its purpose.

Rules of thumb:

New API #1 — Reserved Regions

Reserved regions are areas your layout must respect (like window controls on iPadOS): the hinge/fold and the cameras (outer camera + the under-display inner FaceTime camera).

System containers (NavigationStack/SplitView, TabView, List, ScrollView) already handle reserved regions for you — use them and you get a lot free.

New API #2 — Arrangements

Between navigation containers and content views sits a new layout container: the ArrangementView (SwiftUI) / UIArrangementViewController (UIKit). It arranges a primary and secondary view according to rules — effectively logic-driven layouts that adapt across devices, and it's the exact engine Podcasts' Now Playing uses.

Config:

Choosing: split = main/detail relationship, like Podcasts' transcript (never obscure either view). Overlay = clear foreground/background relationship, like Accessibility Reader. Follow your existing patterns (HStack/VStack → split; ZStack → overlay).

When NOT to use: Arrangements don't provide navigation — don't nest NavigationSplitViews inside one. And don't put them inside scrollable containers (List/ScrollView).


Action plan for your app

  1. Audit centered layouts — can they be two-column? What displacement makes sense?
  2. Use system containers/presentations to get fold-avoidance and reserved-region handling free.
  3. Replace custom horizontal-split or overlay layouts with ArrangementView.
  4. For manually laid-out controls, adopt ReservedRegions to implement your own displacement.

Interactions (not layout) are covered in "Leverage multiple displays and scenes on iPhone Duo."

Videos · Specs · Prices · Apps

Unofficial dev hub. Not affiliated with, endorsed by, or sponsored by Apple Inc.