Cross-platform · Foldables

iPhone Duo vs Galaxy Z Fold 7 — a developer's comparison

Shipping a foldable-ready app on both platforms? The devices look similar, but the layout systems, aspect ratios, and testing tools differ. Here's what actually matters when you write the code.

Display comparison

iPhone DuoGalaxy Z Fold 7
Outer display5.4″ · 466 × 678 pt (1398 × 2034 px @3x)6.5″ · 2520 × 1080 px · 21:9
Inner display7.6″ · 669 × 951 pt (2007 × 2853 px @3x)8″ · 2184 × 1968 px · ~20.9:18
Outer aspectTaller than 2:3 — phone-like21:9 — very tall and narrow
Inner aspect~7:10 — near-square, iPad-like~20.9:18 — near-square, slightly wider
Refresh rateProMotion (adaptive)1–120 Hz adaptive (both displays)

How each platform handles the fold

iPhone Duo (iOS 27)Galaxy Z Fold 7 (Android 16)
Layout systemSwiftUI size classes — outer is compact × regular, inner is regular × regularJetpack WindowManager — window size classes (compact / medium / expanded)
Fold eventTrait-collection / geometry change while running — re-render on size class flipFoldingFeature — posture (flat / half-opened) and hinge bounds as data
Hinge handlingNo hinge API — keep controls off the center strip by conventionHinge position exposed via API — can lay out around it explicitly
Multi-windowStage Manager / Split View idioms carry over from iPadFirst-class multi-window + app pairs; users expect it
SimulatorXcode 27.1 beta, poses as Device Hub buttonsAndroid Emulator with foldable hardware profile, hinge angle control

What this means in practice

Duo-specific resources

Exact Duo geometry: device specs · Copy-paste layout code: SwiftUI snippets · Everything to verify: adaptation checklist.