Published: 16 September 2026 | Updated: 16 September 2026
Short answer: To prepare your app for iPhone Duo, rebuild it with the iOS 27.1 SDK before the phone goes on sale on October 23. Apps built with older SDKs keep working, but they sit boxed in black space on both screens.
Bottom line: Fix orientation-based layouts, UIScreen.main calls and equal-margin maths first. Apple’s fees are trivial; engineering and testing time is the real cost, ranging from a few hours for iPad-ready apps to several days for phone-only apps.
On October 23, some of your most valuable customers will open your app on a phone that costs $1,999 and folds in half. If nobody has touched the app in a while, it will not crash. It will do something arguably worse. It will sit in a box in the middle of a 7.6-inch screen, black space all around it, looking like it was made for a different phone. Which, to be fair, it was.
Nobody files a bug report about this. Instead, people just notice that Netflix fills the screen and your app does not, and they draw their own conclusions about which company is paying attention.
That is the real risk with Apple’s first foldable. The app keeps working. It just looks abandoned, on an iPhone with the highest starting price Apple has ever charged, held by the kind of people who tend to pay for apps.
What we’re solving
The goal here is narrow: get an existing iPhone app to look deliberate on both of the iPhone Duo’s screens, in every way people will hold it. Closed, it is a 5.4-inch phone. Open, it is a 7.6-inch small tablet. Both screens have roughly a 1.4:1 shape, which is much squarer than any iPhone before it. A regular iPhone held sideways is closer to 2.17:1. So neither screen is a shape your layouts have seen.
The phone ships with iOS 27.1. Pre-orders open October 16, and it goes on sale October 23.
How much of the screen you get depends on how you last built the app
Apple has set up three tiers. Which one your app lands in depends on the SDK, meaning the version of Apple’s developer toolkit the app was last compiled with. First, moving up a tier starts with rebuilding against a newer SDK. Apple’s developer session also covers opting in to the full-screen experience, and making good use of the extra space is a separate job again.
| Last built with | What happens on the Duo | How it looks |
|---|---|---|
| An SDK older than iOS 27 | Runs in a compatibility box, with black filling the rest. This happens on both screens, not just the inner one. | Clearly unoptimized |
| iOS 27 SDK (Xcode 27) | On the inner screen, the app extends into the space beside the status bar but stops short of the edge. | Acceptable, some dead space |
| iOS 27.1 SDK (Xcode 27.1) | Reaches the screen edges. Standard navigation and toolbar buttons move to the side, laid out vertically. | What Apple showed on stage |
Two things the early headlines got wrong
Xcode 27.1 is not out yet. Some coverage said the new Xcode, with its iPhone Duo simulator, is already available. As of today, Apple’s own Get Ready for iPhone Duo page lists the Xcode 27.1 beta as “coming later this month.” Apple’s developer videos demo the simulator, but you cannot download it. That changes the planning maths. With launch on October 23, most teams will get a few weeks with the simulator, not six.
The outer screen does not rescue old apps. Early reports suggested older apps would look fine when the phone is closed. The outer screen is not shaped like any earlier iPhone, and legacy builds are boxed on both displays. If your plan was to rely on people using the phone closed, drop it.
Out of scope for this post: Apple Pencil support (Apple says it arrives later in 2026), the Duo-only camera features, and iPad-only apps.
A real example
Netflix is the clearest case so far. Apple worked with it before launch and put it on stage, alongside Zoom, Slack and a few others. What Netflix did is worth studying because it goes past “fill the screen.”
- One activity, two screens. You can scroll the short Clips feed on the outer screen, then open the phone and carry on in the same place on the big one.
- The half-open pose has its own layout. Stand the phone up like a tiny laptop and the video stays on the top half while the playback controls drop to the bottom half.
- Zoom took a similar line. On the inner screen, it shows the shared content and the other participants together, instead of making you pick one.
However, keep this in proportion. That is a handful of large companies with early access and Apple engineers on call. It is not evidence that the wider App Store is ready.
We have seen this film before. When the taller iPhone 5 arrived in 2012, apps that had not been updated ran with black bars at the top and bottom. When the iPhone X arrived in 2017, apps not rebuilt for iOS 11 were letterboxed the same way. Both times, the bars became the quickest way for users to spot an abandoned app. Similarly, Instagram went well over a decade without a proper iPad app, leaving iPad owners with a blown-up phone app. The Duo raises the stakes, because the device exposing the neglect is the phone people carry every day.
How it works (with code)
In fact, most of this is not new work. Apple has been pushing developers toward flexible layouts for years, through size classes, safe areas and resizable iPad windows. If your app already behaves well on an iPad in Split View, you are most of the way there. If your app was built for “an iPhone,” singular, you have a list.
The habits that break on a folding iPhone
- Choosing the layout by orientation. The inner screen ignores the orientations your app says it supports. A portrait-only app will not stay portrait-only once the phone is open. Apple’s advice is to decide layout by size class instead. Size classes are Apple’s way of describing available space as “compact” or “regular.” The outer screen behaves like a normal iPhone. The inner one, by contrast, is regular in both directions, like an iPad.
- Asking for “the main screen”. Code that calls
UIScreen.mainassumes there is one screen. There are now two, and Apple says this API will be deprecated. Instead, get the screen from the window the app is actually in. - Assuming the margins are equal. The status bar and camera now sit in a corner, so the safe area is often wider on one side than the other. Any maths that doubles the left inset to get the usable width will be wrong.
- Hand-built navigation bars. Apple’s standard navigation components adapt on their own, and can show a sidebar on the inner screen with one setting. In contrast, custom bars can collide with system elements. iOS 27.1 adds reserved regions (
ReservedRegionin SwiftUI,UIViewReservedRegionin UIKit) so custom controls can take space without overlapping the system’s. - Forgetting the in-between states. For example, Split View gives your app half the inner screen with uneven margins. In the half-folded pose, controls need to stay clear of the crease. These in-between states are where most layout bugs will hide.
- Assuming a big screen means no black bars on video. A 1.4:1 screen is close to the IMAX shape, so standard widescreen video still shows bars, just at the top and bottom instead of the sides. Good video apps will use that space for controls or information, the way Netflix does.
What the fix looks like
Here are two of the most common fixes, adapted from Apple’s “Prepare your app for iPhone Duo” session. The before lines assume one screen and symmetric margins. The after lines ask the system instead.
// Before: assumes one screen and equal margins
let scale = UIScreen.main.scale
let width = view.bounds.width - view.safeAreaInsets.left * 2
// After: asks the current window and handles each side
let scale = traitCollection.displayScale
let width = view.bounds.inset(by: view.safeAreaInsets).width
A small audit script to size the job before the simulator arrives
Since nobody can run the Duo simulator yet, the useful thing to do this week is estimate. The script below scans an iOS codebase for the patterns above and prints each suspect line with a plain-English fix. Run it from your project folder with python3 duo_audit.py path/to/YourApp.
import re, sys, pathlib
# Habits Apple's iPhone Duo guidance warns about, with a plain fix
RULES = [
(r"UIScreen\.main",
"Two screens now. Get the screen from the window scene."),
(r"UIDevice\.current\.orientation|supportedInterfaceOrientations",
"Inner display ignores orientation locks. Use size classes."),
(r"safeAreaInsets\.(left|right)\s*\*\s*2",
"Assumes equal left/right insets. Duo insets are uneven."),
(r"userInterfaceIdiom\s*==\s*\.phone",
"Duo is still a phone. Don't guess screen size from it."),
(r"width:\s*(375|390|393|402|414|428|430|440)\b",
"Hard-coded iPhone width. Let the layout flex."),
]
def audit(root):
hits = 0
for path in sorted(pathlib.Path(root).rglob("*.swift")):
lines = path.read_text(errors="ignore").splitlines()
for n, line in enumerate(lines, 1):
for pattern, advice in RULES:
if re.search(pattern, line):
hits += 1
print(f"{path.name}:{n} {line.strip()}")
print(f" -> {advice}")
print(f"\n{hits} possible iPhone Duo layout issue(s) found.")
audit(sys.argv[1] if len(sys.argv) > 1 else ".")
Output on a two-file sample project:
HomeView.swift:6 .frame(width: 393)
-> Hard-coded iPhone width. Let the layout flex.
PlayerViewController.swift:6 let scale = UIScreen.main.scale
-> Two screens now. Get the screen from the window scene.
PlayerViewController.swift:7 let usable = view.bounds.width – view.safeAreaInsets.left * 2
-> Assumes equal left/right insets. Duo insets are uneven.
PlayerViewController.swift:8 if UIDevice.current.orientation.isLandscape {
-> Inner display ignores orientation locks. Use size classes.
4 possible iPhone Duo layout issue(s) found.
- What it does: reads every Swift file, checks each line against five risky patterns, and prints the file, the line and what to do about it.
- Why it helps: four hits in two files is an afternoon. Four hundred hits across a large app is a sprint, and you want to know that before October, not after.
- What it is not: a compiler or a test. It flags suspects by text matching, so expect some false alarms, and it will miss layouts that are wrong for other reasons. Treat the count as a sizing signal, then confirm everything in the simulator.
In addition, Apple is shipping its own help. Xcode 27.1 includes a coding skill Apple calls App Resizability, an updated version of the modernization skill it introduced for UIKit apps this year, now covering SwiftUI and the Duo.
What it costs
The money Apple charges is almost nothing. The Apple Developer Program is $99 a year, which you are already paying if your app is on the App Store. Likewise, Xcode and the simulator are free. A real iPhone Duo for testing starts at $1,999, but most teams will not have one before launch day anyway.
The real cost, however, is engineering and testing time. Early developer write-ups put the work at a few hours for a well-built app that already handles iPad, and several days plus testing for a phone-only app with hand-coded layouts. The other ranges below are our estimates, based on those figures and on past iPhone screen changes. Prices were checked on September 11, 2026.
Cost options compared
| Option | Upfront cost | Ongoing cost | Hidden costs | Best for |
|---|---|---|---|---|
| Do nothing | $0 | $0 | App looks boxed-in on both screens, next to competitors that don’t | Apps in maintenance mode with few iPhone users |
| Rebuild with the iOS 27 SDK only | About 1-2 days of rebuild and regression testing (estimate) | Normal release cycle | Still leaves dead space on the inner screen | Teams already shipping an iOS 27 update |
| Adopt iOS 27.1, mostly standard UI | A few hours to a few days | More QA per release | Test matrix grows; no real device until Oct 23 | Apps built on Apple’s standard navigation |
| Adopt iOS 27.1, heavily custom UI | Several days to a few weeks (estimate) | Ongoing layout upkeep | Custom bars and players need rework; design time | Media, camera, games, custom design systems |
| Build Duo-specific features | A product project; depends on scope | Feature maintenance | Design and product time for a small early audience | Video, conferencing, reading, productivity |
The hidden cost: a bigger test matrix
One hidden cost applies to every option except the first. The testing matrix grows for good: two screens, two orientations on each, the half-folded pose and Split View. For a solo developer that might be an extra hour per release. On the other hand, for a team with a formal QA cycle, it needs to be written into the test plan now.
Pros and cons
In favour of doing the work now
- A valuable audience. People who pay $1,999 for a phone are, on average, more willing to pay for apps. Being polished on day one is cheap marketing.
- The work carries over. Flexible layout that fixes the Duo also improves your app on iPad, in resizable windows, and when mirrored to a Mac. This is not a one-device project.
- Apple’s standard components do much of it for you. Apps built on standard navigation get the sidebar and the side-mounted controls largely for free after a rebuild.
- The cost of entry is low. The tooling is free, and for tidy codebases the job is measured in hours.
Against, or at least against rushing
- The audience is small at first. Even Apple-focused press expects the Duo to be niche to start. For most apps, standard iPhones will be almost all of the traffic for a long while.
- The timeline is tight. The simulator is still weeks away and real hardware arrives on launch day. In other words, everything before October 23 is testing on a simulator.
- The testing burden is permanent. As a result, every future release has more screens and states to check.
- It is a first-generation platform. Apple’s written guide to preparing apps is still marked as coming. Expect the advice to shift once real people start using the phone.
- The honest objection. For an app people open for thirty seconds to pay for parking, a boxed-in compatibility view is ugly but perfectly usable. Consequently, spending a sprint on it may never pay back. Fix the cheap things, rebuild, and move on.
Key takeaways
- Old iPhone apps will not break on the iPhone Duo. They will look boxed-in on both screens, and users will read that as neglect.
- The SDK you build with decides how much screen you get. Edge-to-edge needs the iOS 27.1 SDK.
- As of September 11, the Xcode 27.1 beta is not out yet. Apple says later this month, and the phone ships October 23, so audit your code now and test the moment it lands.
- The biggest code risks are orientation-based layout, references to the main screen, equal-margin maths and custom navigation bars.
- Apple’s fees are trivial. Engineering and testing time is the real budget, and most of that work also improves your app on iPad and Mac.
- Prioritise by audience. Video, conferencing and productivity apps should move first; short-session utility apps can rebuild and wait.
Frequently asked questions
What happens to an old iPhone app on the iPhone Duo?
It keeps working, but apps last built with an SDK older than iOS 27 run in a compatibility box with black space around them, on both the outer and inner screens.
Which SDK do I need for my app to fill the iPhone Duo screen?
The iOS 27.1 SDK, which ships with Xcode 27.1. Building with the iOS 27 SDK extends the app on the inner screen but still leaves dead space at the edge.
Is the Xcode 27.1 beta with the iPhone Duo simulator available yet?
Not as of September 16, 2026. Apple’s Get Ready for iPhone Duo page lists the Xcode 27.1 beta as coming later this month. The iPhone Duo goes on sale October 23.
What code patterns break on the iPhone Duo?
The biggest risks are choosing layout by orientation instead of size class, calling UIScreen.main, assuming equal left and right safe-area margins, and hand-built navigation bars that can collide with system elements.
How long does it take to prepare your app for iPhone Duo?
Early developer write-ups put it at a few hours for a well-built app that already handles iPad, and several days plus testing for a phone-only app with hand-coded layouts. Heavily custom interfaces can take several days to a few weeks.
Does preparing for the iPhone Duo cost anything beyond engineering time?
Very little. The Apple Developer Program is $99 a year, which published apps already pay, and Xcode and the simulator are free. The real cost is engineering time and a permanently larger testing matrix.