anatoliykant/iphone-duo
Adapt, audit and design-review iOS apps for iPhone Duo — Apple's foldable iPhone (iOS 27.1): size classes, vertical bars, reserved regions, arrangement views, hinge, scenes, dual cameras; a shared read-only readiness audit; a HIG design review of Figma/Sketch mockups; foldsim, a simulator CLI that puts an iPhone Duo, iPhone or iPad into every pose and says what to check there.
Drive iOS simulators from the command line to check an app's layout in every pose — fold, unfold and rotate an iPhone Duo simulator (closed, tent, book, open, table), rotate an iPhone or iPad simulator, tap, press or swipe on any display including the Duo's inner one, capture each display, and tour all poses with screenshots and state. Use whenever you verify UI on an iPhone Duo, iPhone or iPad simulator, need a specific pose or orientation, need to touch the unfolded Duo (AXe, idb and similar tools only reach the cover), check an app's supported orientations or hinge gate, or capture what each display shows.
Review Figma or Sketch mockups against Apple's Human Interface Guidelines before UI implementation starts — general iOS rules (layout, safe areas, typography, Dynamic Type, color, accessibility, navigation, toolbars, tab bars, sheets, the iOS 26 design system) plus iPhone Duo specifics (outer/inner display, vertical controls, fold avoidance, reserved regions, poses). Produces a findings report with HIG citations, a Ready / Not ready verdict, and — on request — comments on the Figma nodes. Use when asked to review, check, QA or validate a mockup, design, screen, Figma file or node, or Sketch export for HIG compliance, Apple guidelines, iPhone Duo readiness, or before starting UI work from a design.
Adapt, audit, or build iOS apps (Swift, UIKit + SwiftUI) for iPhone Duo — Apple's foldable iPhone (Sept 2026, iOS 27.1 APIs, Xcode 27.2 RC or later). Covers outer/inner display size classes, vertical toolbars and tab bars, reserved regions (hinge, cameras), ArrangementView / UIArrangementViewController, hinge angle (onHingeChange), multiple scenes and scene accessories, dual front cameras, Split View multitasking, Device Hub poses, adaptive layout for continuously changing window sizes (ViewThatFits, AnyLayout, NavigationSplitView, adaptive grids, state continuity), and a grep-based readiness audit. Use whenever the user mentions iPhone Duo, foldable/folding iPhone, fold, hinge, dual display, inner or outer display, vertical bars, reserved regions, arrangement views, resizable or adaptive iPhone layouts, or asks whether an app is ready for iPhone Duo — even without the words "iPhone Duo". Critical because iPhone Duo APIs are newer than the model's training data.