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."

From the developer of this hub
RevDog app icon
Mac app · Developer Tools
RevDog: Indie Revenue
Revenue in your menu bar. If you ship apps, RevDog keeps your RevenueCat numbers where you already look: today's revenue against yesterday and your recent average, MRR and active subscribers, and monthly progress against your own goal. Dig into purchases, renewals, trials and refunds with amounts, store commission, tax and net. Native Mac interface with light and dark appearance, revenue charts with selectable date ranges, local caching with offline fallback, optional sales notifications. Credentials stay in the macOS Keychain: no developer-operated backend, no advertising, no analytics.
Mac · macOS 14 or later · English · one-time purchase, no subscription, no in-app purchases. Requires your own RevenueCat connection; a Demo Mode works without an account. Independent product, not affiliated with or endorsed by RevenueCat, Inc.
View on the Mac App Store →
Videos · Specs · Prices · Apps

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