Existing iOS Apps Need Runtime Layout Checks for iPhone Duo
Apple’s SDK guidance gives iPhone Duo apps progressively wider display behavior, but developers still need to handle resizing, state restoration and display-specific UI decisions.

Key takeaways
SDK version changes how an iPhone Duo app occupies the open inner display, but do not automatically fix custom layouts.
Use live view or window measurements instead of fixed screen bounds, orientation checks or one-time launch dimensions.
Review UIKit resize callbacks and account for vertical system bars when targeting iOS 27.1 or later.
Preserve semantic reading and navigation state, and define which state is shared or independent across displays.
An existing iOS app may open on iPhone Duo without source changes, but that does not guarantee a reliable experience when the device opens or closes. The changing display area can expose assumptions in layout code, user-state handling and background rendering.
Apple’s preparation guidance describes three SDK-dependent presentation modes. Apps built with the iOS 26 SDK or earlier appear in a centered window on the open device, leaving unused space around the app. Builds using the iOS 27 SDK expand across most of the inner display while leaving room for the status bar on the right. With the iOS 27.1 SDK or later, an app can use the entire display, with toolbars and tab bars arranged vertically below the status bar.
Updating the SDK is not the same as making a custom interface adaptive. The build SDK and the minimum deployment target remain separate settings, so a project can use newer APIs while continuing to support older iOS versions when those APIs are accessed conditionally.
Measure the space the app actually has
Apple recommends moving away from calculations based on UIScreen.main.bounds. UIKit code should use view.bounds or window.bounds, while SwiftUI developers can use GeometryReader or onGeometryChange. The corresponding window setup should use UIWindow(windowScene:) rather than creating a window from UIScreen.main.bounds.
Orientation alone is also a weak decision rule. Instead of using UIDevice.current.orientation to choose between wide and compact presentations, the app should compare its available width and height. Existing checks for .phone, .pad or particular screen dimensions also deserve review. A regular horizontal size class is not, by itself, proof that the app is running on an iPad.
Because folding can resize an active application, measuring dimensions once during launch is insufficient. UIKit teams should audit size-sensitive work in layoutSubviews, viewDidLayoutSubviews and viewWillTransition(to:with:). Developers also need to account for vertical system bars when targeting the iOS 27.1 SDK.
Preserve meaning while the layout changes
A wider presentation does not require every control to move. In SCAND’s ebook reader example, views with enough reading width use two columns, while narrower configurations use one column. The C++ reading engine remains unchanged; the interface responds to available space instead.
State restoration should preserve meaningful references rather than just coordinates. That can include the selected document or item, a valid content reference, an active selection, a search query or an unfinished task. The recommended sequence is to save relevant state before rebuilding an affected view, wait for the new layout to settle, and then find the saved content again.
Multi-display behavior also needs an explicit ownership model. In the ebook reader example, the open book is shared across displays, while searches, filters and scroll positions remain independent. A bookmark stores a text location rather than a page number, allowing it to survive pagination changes.
Why it matters for your role
Pick the building you work in.

For software engineers
Engineers should audit fixed-size assumptions, window creation, orientation checks and resize callbacks before relying on an SDK update. Separating presentation behavior from core functionality can limit changes to the interface layer.

For QA engineers
Testing must cover active resizing, layout changes, state restoration and multi-display behavior, not only whether the app launches. Physical-device checks remain useful for interactions that depend on actual hardware.
Based on reporting by Blog – SCAND (source article).
Written with AI assistance and reviewed under our editorial standards. Spotted an error? Tell the desk.









Comments