Iphone Duo Layout

Use this skill when an app's layout or geometry breaks or wastes space on iPhone Duo's foldable inner display: layouts that should become multi-column in regular × regular size classes, NavigationSplitView or TabView sidebars on the inner screen, a phone-width column stuck in the middle, safe-area insets that differ left and right, content or floating controls crossed by the hinge in book or tabletop pose, the FaceTime camera covering UI, or video letterboxing on the wide inner screen. Also use it for the iOS 27.1 layout APIs: reservedRegions (division, occlusion, right-to-left mirroring), ReservedRegion / UIView.ReservedRegion, ArrangementView / UIArrangementViewController split or overlay with their ratio, edge and axis modifiers, and ConcentricRectangle / UICornerConfiguration. Follows Apple's iPhone Duo tech talks and documentation. Not for toolbar items or overflow menus, removing idiom or orientation checks, hinge-angle interactions, or generic SwiftUI and Auto Layout bugs unrelated to the foldable.

alexey1312 Updated

File contents

alexey1312/iPhone-Duo-Agent-Skill/tree/main/skills/iphone-duo-layout commit 41b0fdc4fe

Frequently asked questions

npx skillmds@latest add alexey1312/iphone-duo-layout