Attract Group Logo

How to Upgrade Your Mobile App for iPhone Duo

12 min read
Viktoriia Matskevych
Abstract crimson glass foldable screen with floating interface cards on an aurora gradient

Apple has shipped iPhone Duo, and the next iOS SDK deadline makes its inner screen a delivery problem for every maintained iPhone app. From April 2027, App Store submissions must use the iOS 27 SDK or later. That moves many apps out of the old, phone-sized compatibility window and onto a resizable inner display.

For product owners, this is not a reason to commission a separate Duo app. It is a practical modernization job: update the iOS foundation, make layouts respond to the available window, and prove that state survives resizing. This guide explains what changes on iPhone Duo, where Flutter apps commonly fail, and how the same work covers Android foldables and tablets.

What happens to your app on iPhone Duo

iPhone Duo has an outer phone display and an inner display that gives an iPhone app much more working room. The useful distinction is not the model name; it is the window available to your app at any moment. Apple advises teams to base layout on available space and size classes, not on whether the hardware reports itself as a phone.

ScreenPlanning dimensionsLayout behavior
Outer display5.4 in, about 466 x 678 ptCompact, like a regular phone window
Inner display7.6 in, about 669 x 951 ptRegular-width workspace, closer to an iPad layout

These point sizes are planning approximations, not values to hardcode. An app can change size when the user opens or closes the device, moves into Split View, or changes its posture. It should re-layout without being restarted, losing a form field, or jumping a user back to the home screen.

The physical fold matters too. In half-open book, tent, or laptop-like positions, controls and dialogs should not sit in the fold region. On the inner screen, Split View can reduce a large layout back to a narrow app window. The outer display also has asymmetric safe areas because system elements sit along an edge. Treat each edge separately; a single blanket inset is a lazy shortcut that will eventually put content in the wrong place.

Why you cannot stay on the old SDK

Building with an older SDK keeps the app running, but it does not preserve the old phone-only contract. Apple has set April 2027 as the minimum: uploads to App Store Connect must be built with the iOS 27 SDK or later and target iOS 15 or later. Apple's submission requirements make the date explicit.

The SDK used for the build changes the result on the inner screen:

Build SDKWhat the inner display does
iOS 26 or earlierCompatibility mode: a familiar phone-sized window centered within empty space
iOS 27.0The app resizes to fill most of the inner display, while avoiding the right-edge status area
iOS 27.1 or laterThe app uses the full display; system toolbars and tab bars can appear vertically beneath the status area

That is why doing nothing is not a viable plan. Once the app moves to the required SDK, its window expands. Apple also requires the scene-based UIKit lifecycle for apps built with Xcode 27; an app that has not adopted `UIScene` will not launch. Flutter's UIScene migration guide confirms the same constraint.

Orientation locks are not a layout strategy here. On Duo, a wide inner window can arrive even when the product was designed around portrait. Remove `UIRequiresFullScreen` if it is still present, and treat orientation as an input to test rather than an assumption your UI needs to enforce. Apple’s Duo preparation guidance also shows why `UIScreen.main` and device-type checks are unsafe on a resizable iPhone.

There is an upside. Duo screenshots are optional for now, but submitting them adds an iPhone Duo optimization badge to the App Store product page. That is worth doing after the UI is genuinely ready; a badge on a stretched phone interface is marketing for the wrong thing.

Why the app will not adapt by itself

Flutter receives a resized window through `MediaQuery`, so the app will usually expand. That only proves it can occupy pixels. It says nothing about whether the result remains usable.

The usual failures are familiar:

  • Fixed pixel widths become tiny on the inner display or overflow on narrow cover screens.
  • Padding calculated as a fraction of screen width grows absurdly on large windows.
  • Whole-UI scaling packages turn type and controls into oversized furniture on a foldable.
  • Screens without scrolling show clipped forms and Flutter's overflow warning on short or landscape windows.
  • Navigation or local state is rebuilt during a resize, so typed data and scroll position disappear.
  • "phone versus tablet" checks choose the wrong layout because Duo is still an iPhone with a tablet-like window.

The visual symptom is obvious: a phone screen stretched across a broad canvas, with very long lines, huge controls, and dead space. The fix is not a different layout for every handset. It is a small set of window-based rules applied consistently.

How to upgrade a Flutter app for iPhone Duo

Start with the platform update, then build an adaptive foundation before rewriting individual screens. This order prevents every feature team from inventing its own breakpoints and navigation behavior.

1. Update the iOS and Flutter foundation

Move to Flutter 3.41 or later for default UIScene support and automatic migration when `AppDelegate` is unmodified. Flutter 3.38 introduced the APIs needed for the migration. If the project has a custom `AppDelegate`, custom engine setup, or plugins tied to application lifecycle callbacks, migrate them deliberately: plugin registration and method-channel initialization may need to move into the new engine initialization path.

Also plan for Flutter 3.47's iOS 15 minimum deployment target, dependency updates, and the native regression pass that follows them. Deep links, push notifications, OAuth callbacks, attribution SDKs, WebViews, and launch-time plugins are the places to look first. This is a good time to remove abandoned libraries instead of hauling them into the next platform migration.

Flutter handles ordinary window resizing, but it does not remove every iOS-specific risk. During scoping, confirm the current status of fold-region exposure on iOS; Flutter has historically not populated `MediaQuery.displayFeatures` there. A Flutter dialog can therefore need a custom platform channel or a maintained package until the framework supplies the required geometry. Flutter also draws its own navigation bars, so test them against Duo's vertical system bars. Review plugins that read `UIScreen.main` or access the app window directly as well: Duo can give them stale or wrong dimensions after a scene migration.

2. Add a width-based adaptive foundation

Use the actual window width, not device type or orientation. Flutter's adaptive design guidance recommends the same direction: avoid orientation-based layouts, hardware checks, and unconstrained wide content.

Dart
enum WindowSize { compact, medium, expanded }
Dart
WindowSize windowSizeOf(BuildContext context) {  final width = MediaQuery.sizeOf(context).width;  if (width < 600) return WindowSize.compact;  if (width < 840) return WindowSize.medium;  return WindowSize.expanded;}
Dart
class AdaptivePage extends StatelessWidget {  const AdaptivePage({super.key, required this.child});  final Widget child;​    Widget build(BuildContext context) {    return Center(      child: ConstrainedBox(        constraints: const BoxConstraints(maxWidth: 600),        child: child,      ),    );  }}

This is a foundation, not a full design system. Use `NavigationBar` on compact windows and `NavigationRail` where a wider workspace makes it useful. Constrain reading and form content; let grids have a maximum item width; keep dialogs and bottom sheets from spanning a tablet-sized window. Preserve state above the widgets that rebuild, and use tools such as `PageStorageKey` where they fit.

3. Adapt real screens in risk order

Remove fixed widths and width-fraction math. Add scrolling where content can exceed the short dimension. Keep text and tap targets at sensible fixed sizes rather than scaling them with the viewport. On history, catalog, orders, and messages screens, use the extra width for list-detail or another meaningful second column.

Test images on 4:3 and near-square windows, where `BoxFit.cover` crops very differently from a tall phone. Start the pilot with payment, sign-in, long forms, and WebViews. Those screens carry the highest cost when a resize breaks a checkout or drops an OAuth redirect. Attract Group's Flutter development team typically treats this as a modernization pass across platform code, adaptive components, and high-risk flows rather than a cosmetic responsive-design ticket.

Test iPhone Duo before release

The iPhone Duo simulator in Xcode 27.1 is the primary test environment. Do not limit the pass to a pretty open-screen screenshot. Resize while a user is mid-task, because that is where lifecycle and state bugs show up.

Run these scenarios:

  1. Outer screen, fully open screen, both orientations, and half-open positions.
  2. Folding or unfolding with a filled form, an open keyboard, a dialog, and a playing video.
  3. Split View at a 50/50 width with another app.
  4. Login, push-notification entry, deep link, and OAuth return after a scene transition.
  5. Minimum and maximum text/display settings, safe areas, and edge-to-edge content.
  6. Regression on ordinary iPhones, because an adaptive repair that damages the main audience is still a bad release.

Apple specifically calls the Xcode 27.1 Duo simulator the best way to test the full native experience. Pair it with a QA pass across your primary flows, not merely a developer smoke test. If the app has native extensions, bring in mobile QA coverage early enough to test build variants and real authentication paths.

The same work covers Android foldables too

The adaptive foundation does most of the Android job. Android has more device shapes: narrow book-style outer screens, near-square unfolded books, very tall flip interiors, short cover displays that can run a full app on some devices, and wide or tri-fold inner screens.

Android 16 already ignores orientation, aspect-ratio, and resizability restrictions on large screens for apps targeting API 36, with a temporary opt-out. Android 17 removes that opt-out for apps targeting API 37. Google Play requires API 36 for new apps and updates submitted from August 31, 2026, although the source material's suggested August 2027 API 37 Play deadline is not currently an announced Play policy and should not be presented as one. See Google's API-level requirements and Android 17 behavior change.

Google's large-screen quality guidance has three levels. Tier 3, "Adaptive ready," is the baseline: the app fills its window, keeps content out of overflow or compatibility mode, preserves state through folding and resizing, and works in multi-window mode. Tiers 2 and 1 build on that baseline.

Play quality tierWhat it expects
Tier 3: Adaptive readyFull-window UI, continuity through configuration changes, and multi-window support
Tier 2: Adaptive optimizedLayouts that use window size classes, appropriate navigation, and useful large-screen composition
Tier 1: Adaptive differentiatedPurposeful use of postures and advanced large-screen capabilities where they help the task

Test the Android edges that iPhone Duo does not cover: a very short flip cover screen, a narrow older Fold outer screen, an inner screen that opens directly into landscape, 50/50 split screen, and display-size changes.

One adaptive design, not one per device

Three width classes are enough for most product teams. The window, not the device, selects the class. An unfolded foldable in split screen can be compact again, and an iPhone Duo app can be medium when open but compact beside another app.

Width classWindow widthTypical use
CompactUnder 600 dpPhone and cover-screen layout; bottom navigation
Medium600–839 dpDuo inner screen and many unfolded Folds; constrained content or list-detail
Expanded840 dp and overWider Folds, tablets, desktop windows; rail navigation and purposeful multi-column layouts

The width values are design decisions, not a permission to hardcode device dimensions. A constrained single-column form may remain the right answer in medium width; a dense catalog may justify two columns earlier. Choose according to the task, then test the boundaries.

Release checklist

Complete this list before calling the upgrade done:

  1. Build the iOS app with the current iOS 27 SDK and confirm UIScene migration.
  2. Update Flutter, the iOS deployment target, and lifecycle-sensitive plugins.
  3. Replace UIScreen.main, device-type, and orientation layout checks.
  4. Define compact, medium, and expanded window rules in shared UI components.
  5. Remove fixed widths and width-proportional scaling from priority screens.
  6. Preserve form values, navigation state, media position, and scroll position through resizing.
  7. Test Duo closed, open, half-open, and Split View states in Xcode 27.1.
  8. Test Android narrow, short, near-square, landscape, and split-screen edge cases.
  9. Run a full regression on standard iPhones and Android phones.
  10. Prepare Duo App Store screenshots and large-screen Google Play screenshots only after the UI passes QA.

Make the forced upgrade useful

Apple's deadline means the platform work is coming. The sensible move is to use it to make the app more resilient across Duo, Android foldables, tablets, and ordinary resizable windows at the same time. That puts iOS app development and Android app development on the same adaptive design track instead of funding two disconnected fixes.

If you need a clear scope before touching production code, Attract Group can run an iPhone Duo and foldables readiness audit: inspect the Flutter and native layers, identify the risky screens and plugins, define the test matrix, and turn the result into a sequenced upgrade plan.

Share:
#Flutter#IOS#Android#Mobile App Development
Viktoriia Matskevych

Viktoriia Matskevych

Flutter/React Native developer

Frequently Asked Questions

Ready to Start Your Project?

Let's discuss how we can help you achieve your business goals with cutting-edge technology solutions. Get a free consultation to explore how we can bring your vision to life.

Or call us directly:+1 888-438-4988

Request a Free Consultation

Your data will never be shared with anyone.