<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj" -->

---
title: Prepare your app for iPhone Duo | Apple | daily.dev
description: Apple's UI Frameworks team explains how to adapt iOS apps for the new foldable iPhone Duo, covering resizing behavior across open, closed, rotated, and folded...
canonical: https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Prepare your app for iPhone Duo | Apple | daily.dev
og:description: Apple's UI Frameworks team explains how to adapt iOS apps for the new foldable iPhone Duo, covering resizing behavior across open, closed, rotated, and folded...
og:url: https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj
og:image: https://api.daily.dev/og/posts/qm09ccylj.png
og:image:alt: Prepare your app for iPhone Duo | Apple
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.

# Prepare your app for iPhone Duo | Apple

**[Apple Developer](https://daily.dev/sources/appledeveloper)** · 10 min read · 0 upvotes · 0 comments

## Summary

Apple's UI Frameworks team explains how to adapt iOS apps for the new foldable iPhone Duo, covering resizing behavior across open, closed, rotated, and folded poses. Guidance includes using size classes instead of interface orientation checks, adopting Concentricity APIs for corner shapes, handling asymmetric safe areas and layout margins, and using the new ReservedRegion/UIViewReservedRegion API (iOS 27.1) to maximize screen usage without colliding with system UI. Apps built with the iOS 27 SDK automatically extend to the inner display's edge, and Xcode 27.1 adds a DeviceHub simulator and an updated App Resizability modernization skill supporting SwiftUI.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=qsd-VwqmZvI>

## Questions this post answers

### What new API does iOS 27.1 introduce for positioning custom UI outside the safe area on iPhone Duo?

iOS 27.1 introduces ReservedRegion for SwiftUI and UIViewReservedRegion for UIKit, letting custom UI use as much available screen space as possible without colliding with system-provided UI. This is useful for building custom bars or implementing edge-to-edge UI, especially around the fold on iPhone Duo.

_Developers building custom edge-to-edge iOS layouts can track API changes like this via daily.dev._

### Why should I stop referencing the main screen in my iOS app code for a device with two displays like iPhone Duo?

Referencing the main screen is ambiguous on multi-display devices and will be deprecated in a future release. Instead, use local concepts such as the environment, trait collection, or the scene's bounds, and if screen access is truly needed, get it dynamically from the window scene rather than assuming a single main screen.

_Teams migrating away from deprecated screen APIs can follow platform changes like this on daily.dev._

### What size classes does iPhone Duo use on its inner and outer displays?

On the outer display, iPhone Duo behaves like a standard iPhone: regular vertical and compact horizontal size class in portrait, compact vertical and horizontal in landscape. On the inner display, the extra space gives regular horizontal and vertical size classes, enabling richer layouts like sidebars, and interface orientation is not honored the same way as the outer display.

_iOS developers deciding how to structure adaptive layouts can find platform specifics like this on daily.dev._

## Similar posts on daily.dev

- [The Thumb Rule Goes Sideways: What iPhone Duo Teaches Us About Mobile UX](https://daily.dev/posts/the-thumb-rule-goes-sideways-what-iphone-duo-teaches-us-about-mobile-ux-jjglnf8ua) · Medium · 2 upvotes · 0 comments
- [Positioning SwiftUI views around the fold on iPhone Duo](https://daily.dev/posts/positioning-swiftui-views-around-the-fold-on-iphone-duo-i3gdcfsn1) · Nil Coalescing · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#ui-design](https://daily.dev/tags/ui-design), [#swiftui](https://daily.dev/tags/swiftui), [#xcode](https://daily.dev/tags/xcode)

[View this post on daily.dev](https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj)

```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":"Prepare your app for iPhone Duo | Apple","url":"https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj"},"datePublished":"2026-09-09T19:08:29.254Z","dateModified":"2026-09-14T07:40:28.047Z","description":"Apple's UI Frameworks team explains how to adapt iOS apps for the new foldable iPhone Duo, covering resizing behavior across open, closed, rotated, and folded...","image":"https://i.ytimg.com/vi/qsd-VwqmZvI/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/qsd-VwqmZvI/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Apple Developer","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":"Apple Developer","logo":"https://media.daily.dev/image/upload/s--CAtMViBl--/f_auto/v1711726806/logos/appledeveloper","url":"https://daily.dev/sources/appledeveloper"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,ui-design,swiftui,xcode","timeRequired":"PT10M","video":{"@type":"VideoObject","name":"Prepare your app for iPhone Duo | Apple","description":"Apple's UI Frameworks team explains how to adapt iOS apps for the new foldable iPhone Duo, covering resizing behavior across open, closed, rotated, and folded...","thumbnailUrl":"https://i.ytimg.com/vi/qsd-VwqmZvI/sddefault.jpg","uploadDate":"2026-09-09T19:08:29.254Z","duration":"PT10M","url":"https://api.daily.dev/r/qm09ccylj","embedUrl":"https://www.youtube.com/embed/qsd-VwqmZvI"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Apple Developer","item":"https://daily.dev/sources/appledeveloper"},{"@type":"ListItem","position":3,"name":"Prepare your app for iPhone Duo | Apple"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/prepare-your-app-for-iphone-duo-apple-qm09ccylj#faq","mainEntity":[{"@type":"Question","name":"What new API does iOS 27.1 introduce for positioning custom UI outside the safe area on iPhone Duo?","acceptedAnswer":{"@type":"Answer","text":"iOS 27.1 introduces ReservedRegion for SwiftUI and UIViewReservedRegion for UIKit, letting custom UI use as much available screen space as possible without colliding with system-provided UI. This is useful for building custom bars or implementing edge-to-edge UI, especially around the fold on iPhone Duo. Developers building custom edge-to-edge iOS layouts can track API changes like this via daily.dev."}},{"@type":"Question","name":"Why should I stop referencing the main screen in my iOS app code for a device with two displays like iPhone Duo?","acceptedAnswer":{"@type":"Answer","text":"Referencing the main screen is ambiguous on multi-display devices and will be deprecated in a future release. Instead, use local concepts such as the environment, trait collection, or the scene's bounds, and if screen access is truly needed, get it dynamically from the window scene rather than assuming a single main screen. Teams migrating away from deprecated screen APIs can follow platform changes like this on daily.dev."}},{"@type":"Question","name":"What size classes does iPhone Duo use on its inner and outer displays?","acceptedAnswer":{"@type":"Answer","text":"On the outer display, iPhone Duo behaves like a standard iPhone: regular vertical and compact horizontal size class in portrait, compact vertical and horizontal in landscape. On the inner display, the extra space gives regular horizontal and vertical size classes, enabling richer layouts like sidebars, and interface orientation is not honored the same way as the outer display. iOS developers deciding how to structure adaptive layouts can find platform specifics like this on daily.dev."}}]}
```

