<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x" -->

---
title: What iOS Developers Need to Change in their Apps to...
description: Apple's upcoming foldable iPhone Duo requires iOS developers to rework layout, navigation, and camera handling. Developers should use Xcode 27.1, avoid fixed...
canonical: https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What iOS Developers Need to Change in their Apps to prepare for the iPhone Duo | daily.dev
og:description: Apple's upcoming foldable iPhone Duo requires iOS developers to rework layout, navigation, and camera handling. Developers should use Xcode 27.1, avoid fixed...
og:url: https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x
og:image: https://api.daily.dev/og/posts/KF5eFpa4x.png
og:image:alt: What iOS Developers Need to Change in their Apps to prepare for the iPhone Duo
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What iOS Developers Need to Change in their Apps to prepare for the iPhone Duo

**[InfoQ](https://daily.dev/sources/infoq)** · 4 min read · 0 upvotes · 0 comments

## Summary

Apple's upcoming foldable iPhone Duo requires iOS developers to rework layout, navigation, and camera handling. Developers should use Xcode 27.1, avoid fixed dimensions like UIScreen.main.bounds, rely on size classes instead of userInterfaceIdiom or orientation checks, and use standard SwiftUI/UIKit navigation and toolbar APIs so UI adapts across the outer display, inner display, and partially folded states. New reserved regions (fold divisions and camera occlusions) can be queried via reservedRegions APIs, and camera selection must account for outer, inner, and rear cameras. Developer reactions ranged from criticism of the short lead time to acknowledgment that reliance on UIScreen.main.bounds was always fragile.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/09/apple-iphone-duo-api>

## Questions this post answers

### What do I need to change in my iOS app to support the iPhone Duo's foldable display?

Avoid relying on fixed dimensions like UIScreen.main.bounds, userInterfaceIdiom, or UIInterfaceOrientation for layout decisions. Instead, use standard layout containers such as SwiftUI stacks, navigation and split views, tab bars, and UIKit Auto Layout, and observe horizontalSizeClass and verticalSizeClass changes so the UI adapts across the outer display, inner display, and partially folded poses.

_daily.dev surfaces API changes like this for developers racing to ship foldable-ready updates._

### Which Xcode version do I need to fully support the iPhone Duo's screen space?

Xcode 27.1 is required to extend app content beneath the status bar and camera areas on the iPhone Duo. Apps built with earlier Xcode versions will not take advantage of the full available screen space, leaving unused regions around the status bar and camera on the new device.

_Developers tracking new Xcode requirements for emerging Apple hardware follow updates like this on daily.dev._

### How do I detect fold and camera occlusion areas in a custom SwiftUI view on iPhone Duo?

Use the reservedRegions(kind:options:layoutDirectionBehavior:) modifier in SwiftUI, or the equivalent reservedRegions(kind:options:) method in UIKit, to retrieve reserved regions corresponding to the screen fold and hardware occlusions like the front-facing cameras. Framework-provided views adjust automatically, but custom views must query these regions themselves to avoid rendering under the fold or camera.

_daily.dev helps mobile developers keep up with device-specific APIs like these as new hardware ships._

## Similar posts on daily.dev

- [What iOS teams need to do about the new App Store header and iPhone Duo](https://daily.dev/posts/what-ios-teams-need-to-do-about-the-new-app-store-header-and-iphone-duo-ivawzi0lp) · Medium · 0 upvotes · 0 comments

---

Tags: [#apple](https://daily.dev/tags/apple), [#ios](https://daily.dev/tags/ios), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What iOS Developers Need to Change in their Apps to prepare for the iPhone Duo","url":"https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x"},"datePublished":"2026-09-24T19:03:15.270Z","dateModified":"2026-09-24T19:04:17.131Z","description":"Apple's upcoming foldable iPhone Duo requires iOS developers to rework layout, navigation, and camera handling. Developers should use Xcode 27.1, avoid fixed...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/42f705d8148972f0755fecb20a50eb60?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/42f705d8148972f0755fecb20a50eb60?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"apple,ios,swiftui","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"What iOS Developers Need to Change in their Apps to prepare for the iPhone Duo"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/what-ios-developers-need-to-change-in-their-apps-to-prepare-for-the-iphone-duo-kf5efpa4x#faq","mainEntity":[{"@type":"Question","name":"What do I need to change in my iOS app to support the iPhone Duo's foldable display?","acceptedAnswer":{"@type":"Answer","text":"Avoid relying on fixed dimensions like UIScreen.main.bounds, userInterfaceIdiom, or UIInterfaceOrientation for layout decisions. Instead, use standard layout containers such as SwiftUI stacks, navigation and split views, tab bars, and UIKit Auto Layout, and observe horizontalSizeClass and verticalSizeClass changes so the UI adapts across the outer display, inner display, and partially folded poses. daily.dev surfaces API changes like this for developers racing to ship foldable-ready updates."}},{"@type":"Question","name":"Which Xcode version do I need to fully support the iPhone Duo's screen space?","acceptedAnswer":{"@type":"Answer","text":"Xcode 27.1 is required to extend app content beneath the status bar and camera areas on the iPhone Duo. Apps built with earlier Xcode versions will not take advantage of the full available screen space, leaving unused regions around the status bar and camera on the new device. Developers tracking new Xcode requirements for emerging Apple hardware follow updates like this on daily.dev."}},{"@type":"Question","name":"How do I detect fold and camera occlusion areas in a custom SwiftUI view on iPhone Duo?","acceptedAnswer":{"@type":"Answer","text":"Use the reservedRegions(kind:options:layoutDirectionBehavior:) modifier in SwiftUI, or the equivalent reservedRegions(kind:options:) method in UIKit, to retrieve reserved regions corresponding to the screen fold and hardware occlusions like the front-facing cameras. Framework-provided views adjust automatically, but custom views must query these regions themselves to avoid rendering under the fold or camera. daily.dev helps mobile developers keep up with device-specific APIs like these as new hardware ships."}}]}
```

