# iPhone Duo Hinge-Aware Layout

> Fix layouts that break or waste space on the foldable inner display of iPhone Duo.

iPhone Duo Hinge-Aware Layout is a paid AI agent skill on Agensi by Aleksei Kakoulin, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9.99 (one-time purchase)
- Creator: [Aleksei Kakoulin](https://www.agensi.io/creators/proteinunit)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.0
- Last updated: 2026-10-05
- Security: scan passed (2026-10-05); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/iphone-duo-hinge-aware-layout
- Tags: mobile, ios, swiftui, uikit, iphone-duo, foldable, xcode, adaptive-layout

## About this skill

The inner display of iPhone Duo is regular by regular. When the device is folded, the hinge divides it, and the cameras cover part of it. This skill fixes layouts that break or waste space there. It starts from system containers and adds custom work only where a container cannot do the job.

### What it does

- **Uses size classes, not devices:** multi-column layouts, split views and grids for regular × regular.
- **Adds sidebars:** `NavigationSplitView` and `TabView` sidebars on the inner display.
- **Fixes the phone-width column:** a narrow column in the middle of a wide screen becomes two columns, a split view or a grid.
- **Fixes safe areas:** insets that differ on the left and on the right, and the FaceTime camera over UI.
- **Moves content off the fold:** content and floating controls in book or tabletop pose.
- **Uses the letterbox band:** controls, metadata or artwork around 16:9 video on the wide inner display.
- **Adopts the iOS 27.1 layout APIs:** `reservedRegions`, `ReservedRegion`, `ArrangementView` / `UIArrangementViewController`, `ConcentricRectangle` and `UICornerConfiguration`.

### How it works

1. A read-only scan and an SDK check show what compiles with your Xcode.
2. The skill writes recommendations. Each one cites the Apple session it comes from.
3. You approve each change. The skill applies it and builds.

### Works with

SwiftUI and UIKit apps in Xcode. Size classes, split views, sidebars and safe areas work with earlier SDKs. Reserved regions and arrangements need the iOS 27.1 SDK.

## Known limitations

Reserved regions and arrangements do not compile with the iOS 27.0 SDK. The skill checks your SDK and lists those items as blocked. Pose verification needs the iPhone Duo simulator or a device. Generic SwiftUI and Auto Layout bugs are out of scope.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the iPhone Duo Hinge-Aware Layout skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill improve my app's appearance on the iPhone Duo inner display?

This skill identifies layout breaks caused by the iPhone Duo's unique hinge and camera placement, automatically implementing multi-column grids and sidebars to replace wasted 'regular by regular' whitespace.

### Do I need the latest iOS SDK to use all the layout features?

The skill supports both SwiftUI and UIKit; while basic adaptive features work on older SDKs, the advanced hinge-aware features like reserved regions require the iOS 27.1 SDK.

### Will this skill automatically change my source code without my review?

No, the skill performs a read-only scan of your project and generates recommendations for your approval before any code is modified or applied.

### How does the skill handle content that falls directly on the device hinge?

It specifically targets book and tabletop poses by shifting interactive controls and floating elements away from the physical fold to ensure they remain accessible and visible.

### Can this skill help with video playback layouts on the foldable screen?

The skill utilizes the 'letterbox' bands around 16:9 video content to intelligently display metadata, playback controls, or artwork, maximizing the wide inner display's utility.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
