iphone-duo-adaptivity-auditlisted
Install: claude install-skill Urbanrenewalroridula3044/iPhone-Duo-Agent-Skill
# iPhone Duo adaptivity audit
The foundation for everything else: an app that decides layout from the screen, the
orientation or the idiom is wrong on iPhone Duo before any foldable-specific work
begins.
## Facts this skill relies on
- The **outer display** behaves like other iPhones; the **inner display** is regular
width × regular height. (Tech Talk 111461, 2:46)
- The inner display **does not honor supported interface orientations**; in iOS 27
supported orientations are a preference ignored in resizable environments, and
iPhone Mirroring always reports portrait. (111461 2:46; WWDC26 278 6:50)
- Referencing the **main screen is ambiguous on a two-display device** and deprecated
(the iOS 27 SDK header marks `mainScreen` deprecated). (111461 3:57; 278 2:51)
Concretely: the iPhone Duo simulator's own profile names the **outer** display as
`main-screen-*`, so an app that asks for the main screen gets the smaller of the
two whichever display it is actually on. (`references/device-geometry.md`, measured)
- The **user interface idiom is not meaningful for layout**: an iPhone app stays in the
phone idiom while fully resizable. (111461 1:33; 278 6:17)
- **UIScene lifecycle is required** when building with the latest SDKs; without it
the app no longer launches. (278 2:10)
- `UIRequiresFullScreen` no longer opts an app out of resizing from iOS 27: it gives
discrete resizing, and iPhone Duo still resizes the app when it opens or closes and
scales it on the inne