iPhone Duo Developer Hub · Blog

Prepare Your App for iPhone Duo

Apple Developer session · 10m · Watch on YouTube ↗

Prepare Your App for iPhone Duo

Source: Prepare your app for iPhone Duo (Apple Developer) · 10 min

iPhone Duo is Apple's first folding, multi-display iPhone. The good news for developers: your existing iPhone app already runs on it. The better news: with a little work you can make it feel built for the device instead of just ported over.

This is the foundational session of the iPhone Duo series — it tells you exactly what to do and in what order. Here's the practical rundown.

What works out of the box

Built with the iOS 27 SDK or earlier, your app already runs on iPhone Duo:

So nobody is blocked. Making it shine is a follow-up step, not a prerequisite.

Three things unlock the full experience

  1. Build with the iOS 27.1 SDK / Xcode 27.1. This lets your app extend all the way to the edge of the inner display. Standard navigation and toolbar buttons now lay out vertically under the status bar.
  2. Use the iPhone Duo simulator in Device Hub. The control buttons at the bottom let you open, close, rotate, and fold the device — so you can actually test every pose.
  3. Follow flexible-layout best practices. Duo's whole point is that your app resizes to fit whatever pose it's in: opened, closed, rotated, or folded.

Adapt with size classes, not device checks

Don't hard-code for "the fold." Extend what you already do for resizability:

Safe areas: expect asymmetry

Safe areas on iPhone Duo are often not equal on both sides — horizontal controls can live only on the left (landscape, split view). Rules to follow:

Touch ID, not Face ID

There's no Face ID on the Duo — authentication is Touch ID in the side button. If you branch on biometric type to build custom UI or copy, that branch needs a Touch ID case or your app shows the wrong prompt on this device: check the biometry type (context.biometryType in LocalAuthentication) and handle it. One conditional, not a redesign.

Can't fit in the safe area? Use Reserved Regions

New in iOS 27.1: ReservedRegions (SwiftUI) / UIViewReservedRegion (UIKit) let your custom UI use the maximum screen space without colliding with system UI. Great for building custom bars or edge-to-edge layouts that adapt to the fold.

The lazy path to correctness

Apple ships an App Resizability skill (renamed from the "Modernize Your UIKit App" skill, now SwiftUI + iPhone Duo aware). Run it on your project and it audits your app against all of these best practices for you.


Quick checklist

Happy folding. → Deep-dives on screens/multitasking, adaptive layouts, vertical bars, and camera are in the rest of this series.

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.