Skip to content

Instantly share code, notes, and snippets.

@frankschlegel
Created September 18, 2026 06:57
Show Gist options
  • Select an option

  • Save frankschlegel/6356a059426b2393528691822edfdae6 to your computer and use it in GitHub Desktop.

Select an option

Save frankschlegel/6356a059426b2393528691822edfdae6 to your computer and use it in GitHub Desktop.
iPhone Duo Group Labs — Consolidated Q&A

iPhone Duo Group Labs — Consolidated Q&A

Source videos

Both transcripts appear automatically generated. Obvious transcription errors have been corrected where the intended term was clear; uncertain answers remain explicitly qualified.

Technical references

The API names and technical terminology in this document were checked against Apple’s six iPhone Duo Tech Talks and the iPhone Duo Human Interface Guidelines:

Questions and answers

1. How should developers think about iPhone Duo conceptually?

September 16 — 31:15, September 17 — 09:51

Duo should feel like one continuously adaptable iPhone—not a separate phone and tablet, and not two independently managed displays. Opening it should resemble smoothly enlarging the same app.

Existing iPad layouts are useful starting points, but Duo remains a pocketable phone. Developers should reconsider tablet-specific choices based on how people use a phone. Apple’s Phone app, for example, gives the dialer its own tab on Duo instead of using the iPad version’s popover.

2. What happens to an app when Duo is opened or closed?

September 17 — 03:06, September 17 — 17:04

A full-screen app normally continues on the other display and is resized rather than destroyed and recreated. Standard navigation and split-view containers should retain state automatically.

If two apps are in Split View when Duo closes, the most recently used app generally moves to the outer display while the other is backgrounded. Reopening the device shortly afterward may restore both apps. After more time has passed, the outer-display app may instead expand across the inner display; Apple did not disclose the timing threshold.

SwiftUI apps should avoid replacing their entire hierarchy with different if branches for compact and regular size classes. Doing so can destroy local view state during display transitions unless shared state has been lifted above those branches.

3. Should apps build Duo-specific layouts?

September 16 — 04:34, September 16 — 39:51, September 17 — 24:45

Begin with normal adaptive-layout techniques:

  • Resizable interfaces.
  • Size classes and available dimensions.
  • Split views and sidebars.
  • Standard navigation, tab, sheet, and toolbar components.
  • ArrangementView or UIArrangementViewController, and reserved-region APIs where appropriate.

Add Duo-specific behavior only when a particular pose creates a clear benefit—for example, putting video controls on the lower half in a laptop-like pose.

The panel repeatedly warned against inventing a novel interface for every possible pose. Apple itself was still learning whether some partially folded configurations would become sustained working modes or merely transitional moments.

4. What should developers prioritize first?

September 16 — 15:56, September 16 — 56:29, September 17 — 20:09

The recurring priorities were:

  • Make the app genuinely resizable.
  • Replace custom navigation components with system containers where practical.
  • Test all four safe-area edges and asymmetric margins.
  • Ensure controls compress and move into overflow menus sensibly.
  • Choose the highest-level API that solves the problem.
  • Make the app functional across all poses before adding pose-specific polish.

The clearest design mistake was treating every pose as a requirement for a special new experience.

5. How do Xcode versions affect Duo compatibility?

September 16 — 21:12, September 16 — 37:16, September 16 — 47:07

The panel described this progression:

  • Built with Xcode 26: The app appears at a conventional iPhone aspect ratio, surrounded by black space. On the inner display, that phone-shaped interface is centered and does not react meaningfully to Duo poses.
  • Built with Xcode 27 and supporting resizability: The app uses almost all of the inner display, although a side region remains beneath the status bar.
  • Built with Xcode 27.1: The app can occupy the complete Duo display.

Linking against iOS 27 enables iPhone resizability. There is no opt-out that preserves the old fixed-size behavior while using the new SDK.

6. How much work does basic Duo support require?

September 16 — 48:28, September 17 — 28:50

Apple’s app teams said that much of the work consisted of modernization rather than Duo-specific implementation:

  • Adopting window scenes.
  • Supporting general resizability.
  • Replacing custom bars and sheets with system components.
  • Removing fixed-screen assumptions.
  • Adopting Liquid Glass and current layout guides.

Find My received much of its Duo behavior automatically after replacing custom components. Even iTunes Store—described as the most difficult because of legacy code—reportedly needed about a week to adopt window scenes and Liquid Glass, without implementing pose-specific layouts.

7. How can developers test before Xcode 27.1 and the Duo simulator arrive?

September 16 — 53:18, September 17 — 04:36, September 17 — 20:09

Developers should:

  • Resize the app on iPad.
  • Use iPhone Mirroring for iPhone-only apps.
  • Test portrait and landscape.
  • Adopt window scenes.
  • Obtain screen information through the relevant window scene rather than a global main screen.
  • Check leading and trailing safe areas, not just top and bottom.
  • Look for calculations that assume opposite-side margins are equal.

These methods catch most ordinary resizability and layout problems. The Duo simulator and physical hardware remain necessary for fold transitions, vertical bars, asymmetric device geometry, cameras, and pose-specific behavior.

8. What will the Duo simulator support?

September 17 — 43:31

Device Hub and the simulator can vary:

  • Hinge angle.
  • Rotation in three-dimensional space.
  • Open, closed, book, laptop, tent, and related poses.
  • Transitions between poses.

The simulator cannot reproduce simultaneous live camera content on both displays because it has no cameras. Xcode 27.1 will nevertheless launch camera-using apps, allowing developers to test the surrounding interface while the camera view remains empty.

Apple also announced forthcoming worldwide workshops where developers could test on physical devices.

9. Will Xcode provide automated assistance for adopting Duo?

September 16 — 25:04, September 17 — 48:20

Yes. The modernization skill introduced alongside “Modernize your UIKit app” is named App Resizability in Xcode 27.1. It supports SwiftUI and iPhone Duo in addition to UIKit.

10. How should new APIs be adopted while supporting older iOS releases?

September 17 — 59:08

Use availability checks around APIs requiring iOS 27.

An app can either:

  • Preserve its existing layout on older systems and use a new hierarchy—such as one based on ArrangementView—on iOS 27.1; or
  • Place smaller availability checks around individual enhancements when features must continue evolving across every supported OS.

The appropriate scope depends on how much code the old and new experiences can share.

11. Can an app be exclusive to Duo, require one pose, or run as an iPad app through compatibility mode?

September 17 — 14:40, September 17 — 16:01

The panel did not give a definitive App Store eligibility answer for a Duo-exclusive app, but strongly discouraged the concept. Duo belongs to the iPhone family, so apps should normally support the wider lineup and allow people to use the device in whichever pose suits them.

No iPad compatibility mode comparable to visionOS was described. The recommended route for an iPad-only app is to make it universal by adding iPhone as a supported platform. Its existing resizability work should provide a strong starting point.

12. Does Duo have a separate device idiom?

September 17 — 52:45

No. Duo reports the phone idiom.

Its inner display does introduce a previously unseen iPhone size-class combination: regular width and regular height. Apps should therefore use size classes and available dimensions instead of assuming that the phone idiom always implies a compact interface.

13. How should tab bars adapt, including text-only and custom bars?

September 16 — 12:12, September 17 — 06:46, September 17 — 49:05

UITabBarController and SwiftUI TabView receive the complete adaptive behavior. Toolbars receive it when supplied through containers such as NavigationStack, NavigationSplitView, or UINavigationController. A manually inserted UITabBar, UIToolbar, or UINavigationBar remains horizontal.

The Tech Talk corrects an uncertain answer from the group lab: text-only items remain in a horizontal bar. Items with a symbol can move to the vertical axis. Supply both a symbol and title—using Label in SwiftUI or the corresponding UIBarButtonItem properties—so the system can choose a representation and still show the title in expanded and overflow presentations. Use AxisBehavior when a custom item must remain horizontal or explicitly supports a vertical representation.

For custom bars, query ReservedRegion in SwiftUI or UIView.ReservedRegion in UIKit to find space occupied by system UI. This helps with placement but does not reproduce native behavior such as:

  • Scrubbing labels.
  • Lensing effects.
  • Compression.
  • Overflow handling.
  • Automatic vertical-axis adaptation.

The bar can move between sides and change height because of rotation, Split View, picture-in-picture, the keyboard, Live Activities, and other controls. Apple’s recommendation was to use the native container whenever possible.

For native bars, ToolbarVerticalCompressionBehavior in SwiftUI and UIVerticalBarCompressionBehavior in UIKit decide whether toolbar items or the tab bar compress first. Use ToolbarOverflowMenu or UINavigationItem.additionalOverflowItems to consolidate custom overflow actions, and toolbar-item visibility-priority APIs to control which actions remain visible longest. Single-page or control-heavy interfaces can opt out with toolbarVerticalBehavior or preferredVerticalBarBehavior when a vertical bar would waste more space than it saves.

14. How should three-column interfaces adapt?

September 16 — 34:48

A three-column iPad interface will commonly show two columns at once on Duo, with the root column available as an overlay. In portrait, the app may initially show the detail view and let the user reveal the sidebar.

Use SwiftUI’s NavigationSplitView or UIKit’s UISplitViewController. These components also adapt when the device is partially folded—for example, arranging visible columns approximately 50/50 in a book-like configuration.

15. How should orientation be handled?

September 16 — 26:37, September 16 — 44:16, September 17 — 57:49

The outer display honors supported interface orientations. The inner display does not enforce a portrait-only restriction; the app is expected to resize into its regular-width, regular-height environment.

Current orientation is technically available through traits or the environment. However, layout should generally respond to actual available dimensions and content needs. This also works in resizable iPad and Mac windows, where physical orientation says little about the window’s shape.

On the outer display, portrait and landscape can be distinguished through their different size classes or dimensions.

16. How should apps handle the hinge, reserved regions, and asymmetric safe areas?

September 17 — 34:44, September 17 — 39:29

Do not hard-code Duo dimensions.

System components such as alerts already move around the fold. For custom content, query ReservedRegion values with GeometryProxy.reservedRegions(kind:options:layoutDirectionBehavior:) in SwiftUI or UIView.reservedRegions(kind:options:) in UIKit. Each region describes its frame, margins, identifier, kind, and active state.

On Duo, the main region kinds are:

  • A division region for the fold. It becomes active when the inner display is partially folded and divides the display into usable areas.
  • An occlusion region for a camera. The inner camera’s region becomes active only while that camera is active.

Practical guidance:

  • Use ReservedRegion or UIView.ReservedRegion when an individual control must avoid the fold or camera.
  • Respect actual safe-area and content-margin values on all four edges.
  • Never assume left and right values are equal.
  • Allow for the vertical bar—and its larger inset—to move between sides.
  • Use ConcentricRectangle in SwiftUI or UICornerConfiguration in UIKit when custom geometry must match Duo’s unequal screen-corner radii.

Duo also has differently shaped outer-display corners and can show either horizontal or vertical status bars.

17. How do Find My-style sheets and tab bars adapt?

September 16 — 50:59, September 17 — 45:27

Find My keeps its tabs associated with its sheet because each tab selects the sheet’s content. On the outer display:

  • Portrait uses a partially open sheet with the tab bar at the side.
  • Landscape moves the sheet to the leading edge and places the tab bar at the bottom, preserving more visible map area.

This is not a universal rule. Controls should remain with the content they govern, and their orientation should reflect the sheet’s purpose and available space.

18. Can an app provide a conventional full-screen experience?

September 16 — 55:58

Yes. An immersive app can hide the status bar and use the full screen. It does not need to adopt vertical controls if those controls do not fit the experience.

19. Are there Duo-specific accessibility considerations?

September 16 — 28:54

Standard accessibility support remains essential, especially:

  • Dynamic Type at the largest accessibility sizes.
  • Readable-content guides.
  • VoiceOver and Voice Control.
  • Layouts that remain understandable when the device changes size.

Developers should also test Reduce Transparency. It places an opaque background behind the vertical bar, so nearby content and custom chrome must remain visually correct.

20. What are ArrangementView and UIArrangementViewController, and do they work on other devices?

September 16 — 19:14, September 17 — 55:12

SwiftUI’s ArrangementView and UIKit’s UIArrangementViewController are two-content layout containers. They hold a primary and secondary view and compute their layout from the available size, size classes, and hardware features such as reserved regions.

SwiftUI selects a style with .arrangementViewStyle(_:); UIKit uses updateArrangement(_:animated:). The built-in styles are:

  • Split: SplitArrangementViewStyle or UISplitArrangement, for main-detail or other content where neither side should be obscured. It adapts its split axis to the environment and can be constrained with axes(_:).
  • Overlay: OverlayArrangementViewStyle or UIOverlayArrangement, for foreground/background relationships such as controls over media. When Duo folds, an overlay can transition into a side-by-side layout.

These APIs are not restricted to Duo. If the same spatial conditions occur on another supported iPhone or iPad, they produce the corresponding layout there. When there isn’t enough room, a split arrangement can show only its primary view.

An arrangement is a layout container, not navigation infrastructure. Keep NavigationSplitView, NavigationStack, and tab containers outside it, and don’t place an arrangement inside List or ScrollView.

Apple recommended using the highest appropriate abstraction:

  1. Standard adaptive components.
  2. ArrangementView or UIArrangementViewController.
  3. ReservedRegion or UIView.ReservedRegion.
  4. Raw hinge information only when genuinely required.

21. Can an app identify the current pose or read the hinge angle?

September 17 — 24:45, September 17 — 58:22

SwiftUI observes the hinge with .onHingeChange; UIKit uses UIHingeInteraction. The returned context distinguishes .closed, .partiallyOpen, and .fullyOpen, and supplies continuous angle updates. In SwiftUI, the angle is an Angle value. A missing hinge indicates that the app is running on hardware without one.

Live hinge data is intended for interactions and effects, such as driving a musical pitch bend. Most apps should not use it to switch their entire layout based on a named pose; use ArrangementView and reserved-region APIs for layout instead.

22. Can an app detect which side is resting on a table?

September 16 — 09:39

The device supports seated use with either side facing down, and the interface should provide equivalent functionality both ways.

The panel was unsure whether a general-purpose API identifies which display is against the table. A camera app may at least observe that a camera is obstructed, but no definitive detection mechanism was given.

23. Can ordinary apps reproduce the inner-display glow shown in tent mode?

September 17 — 13:35, September 17 — 31:14

Not generally. An ordinary app in tent mode shows its main landscape interface on the outer display.

The inner glow demonstrated by Apple is provided through AlarmKit to qualifying alarm apps. Other simultaneous inner-and-outer experiences are limited to camera apps using scene accessories during an active camera session.

24. Can non-camera apps use both displays simultaneously?

September 16 — 03:31, September 16 — 43:19

No. Simultaneous content on the inner and outer displays is restricted to camera apps. The app needs the relevant entitlement and an active camera session; the entitlement alone is insufficient.

Apple’s Kid Q example shows the photographer’s view on the inner display while Snoopy appears outside to attract the child’s attention.

25. How does CameraCaptureAccessory behave?

September 17 — 32:18, September 17 — 37:20

The panel was unaware of special animation or refresh-rate restrictions. A scene accessory is a complete UI scene rather than a widget-style timeline; FaceTime uses one for live video. In SwiftUI, register outer-display camera UI with .sceneAccessory { CameraCaptureAccessory { ... } }. UIKit provides the corresponding UISceneAccessory registration APIs.

An app can toggle the accessory while it is available, but:

  • An active camera session is required.
  • Availability should be observed with onAvailabilityChange(perform:) or the corresponding UIKit mechanism.
  • The app should disable its accessory control when unavailable.
  • Certain configurations, including Split View while Duo is open, can make accessories unavailable.

26. Can both displays receive touch input simultaneously?

September 17 — 05:42

The panel’s answer was no, although it was given with some uncertainty. Developers with a compelling use case were encouraged to submit feedback explaining the user experience they want to create.

27. How should camera apps handle rotation and camera direction?

September 17 — 22:04

For the simplest implementation, discover the Virtual Front Camera, an AVCaptureDevice that automatically switches between the inner and outer physical front cameras as Duo opens and closes. Apps that need each physical camera’s full capabilities can select .builtInOuterUltraWideCamera or .builtInInnerUltraWideCamera directly.

For manual camera selection, the panel identified two relevant AVFoundation APIs:

  • AVCaptureDevice.RotationCoordinator, for keeping the preview and captured media upright as the app changes displays.
  • AVCaptureDeviceDirectionCoordinator, for determining which monitored cameras face toward or away from a particular view as the device moves.

Duo’s cameras can move through space as the device changes configuration. Apps should not assume that an AVCaptureDevice whose fixed position is .front is currently facing the user. The direction coordinator reports AVCaptureDeviceDescriptor values, which are main-actor-safe and sendable to a camera actor for resolving and reconfiguring an AVCaptureSession.

28. How do multiple app instances and Split View work?

September 16 — 57:04, September 17 — 60:14

Duo supports scene-based Split View multitasking much like iPad. Multiple instances of the same app can appear beside one another or alongside other apps. New windows can be requested only on the inner display; UIWindowSceneActivationAction automatically hides when scene creation is unavailable, and direct activation requests must handle failure.

Instances share application-level storage such as SwiftUI App Storage. Updates use the normal SwiftUI or UIKit observation mechanisms.

29. Can multiple instances have independent volume controls?

September 17 — 33:28

The panel was uncertain, but expected both scenes to share the standard system audio controls because they belong to one app. The system does not appear to provide a separate Control Center volume slider for each scene.

An app could potentially implement its own per-scene mixing. Developers were advised to test the equivalent multiple-scene behavior on iPad.

30. Does Duo support external monitors or Stage Manager?

September 17 — 36:16

External-display output reportedly works like it does on other iPhones, although the panel did not demonstrate or explain it in detail.

The panel’s expectation was that Duo does not support iPad-style Stage Manager.

31. How does Core Motion map the chassis to the active display?

September 16 — 58:00

The panel did not provide a technical answer. The response that it was “magic” and developers should not need to worry about it was a joke, not documentation of the actual reference-frame behavior.

32. How should web apps adapt to Duo?

September 16 — 38:48, September 17 — 58:41

Web apps should not identify the specific device model. They should use the relevant standard web APIs to determine whether the display contains a fold and how that fold divides the available area.

No WebKit specialist was present, so the panel did not provide a definitive list of supported Safari APIs. Developers were advised to test with the released SDK and file feedback for missing behavior.

33. Which widget families does Duo support?

September 17 — 53:48

The panel did not have a definitive enumeration. They expected extra-large 6×4 widgets to be limited to the inner display because they would not fit outside, but could not confirm the exact number or combination of widgets supported on each lock screen.

They emphasized that extra-large widgets are particularly useful in Duo’s standby mode.

Interesting tidbits and announcements

  • Release sequence: Duo was scheduled for October 23 with iOS 27.1. Xcode 27.1 would add the Duo SDK and updated Device Hub; the 27.2 operating-system betas and Xcode 27.2 were already available for testing subsequent releases. September 16 — 00:31

  • Design resources: Figma and Sketch kits were already available from the Apple Developer website. September 16 — 01:22

  • System components as debt reduction: Several Apple teams used Duo and Liquid Glass as the justification to replace long-standing custom navigation and tab implementations with system components.

  • Music’s special adaptation: Opening Duo while Music’s Now Playing interface is visible enters the lyrics presentation; closing it returns to the compact non-lyrics layout. Music also uses the shared vertical bar region for vocal attenuation, translation, and other lyrics controls. September 17 — 17:44

  • FaceTime’s “Me PIP”: Apple internally calls the draggable self-view video the “Me PIP.” FaceTime moves it to avoid covering the active inner camera. September 17 — 30:42

  • Smart Take: The camera’s Smart Take feature can wait for a person or group to pose and stop moving before taking a photograph automatically. September 16 — 30:34

  • Standby without a charger: Panelists highlighted that Duo can enter standby without being connected to power, substantially increasing the usefulness of large widgets. September 17 — 54:39

  • Musical hinge experiments: The developers discussed using the hinge as a guitar whammy bar and imagined accordion, piano, and drum apps built around different Duo poses. September 17 — 38:28

  • Useful feedback describes the goal: Apple asked developers requesting new capabilities to explain the intended user experience, not simply state that an API is missing.

  • Further support: Apple announced worldwide physical-device workshops and developer-forum Q&As covering Photos and cameras, SwiftUI, and UIKit for Duo. September 17 — 60:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment