▶YouTube
IT & AI News

Claude Code Can Now Test Apps on Apple's Foldable iPhone Duo

November 17, 2026 · NextGenTip · 34 views

Anthropic has added iPhone Duo controls to Claude Code's iOS simulator pane, so developers can fold and unfold the virtual device and check how their app adapts.

Anthropic has added controls for Apple's foldable iPhone Duo to the public beta of Claude Code's iOS Simulator pane. Developers can launch the foldable-device simulator beside a chat, install an app, interact with its interface, and change the virtual hinge angle while the app runs.

The integration cuts the manual work of checking layouts across the Duo's display modes. Instead of repeatedly adjusting the simulator by hand, a developer can ask Claude to fold or unfold the device, inspect the result, and verify a fix in the same session.

Foldable screens multiply the test matrix

The iPhone Duo adds layout states that conventional iPhones do not have. Apps can move between outer and inner displays, resize as the device opens or closes, rotate into different orientations, and run in Split View. Interfaces must also handle hinge-angle changes and vertical toolbar arrangements.

Apple introduced the Duo simulator runtime through Device Hub, its 3D environment for changing device pose, rotation and hinge angle. It reproduces the Duo's display states and exposes its hinge API, but checking every relevant combination by hand takes repeated simulator adjustments. Claude Code can now perform those adjustments during a test session.

A simulator loop inside the chat

The workflow runs in four steps. First, ask Claude to run or test the project, and the simulator pane opens beside the conversation. Then Claude can fold or unfold the virtual Duo while the app stays active. The pane streams the device screen live, so both Claude and the developer can interact with the app. Finally, Claude can rebuild the project and check the updated layout in the same simulator session.

Teams adapting an existing project can ask Claude to prepare it for iPhone Duo. Claude may then offer to install the App Resizability skill, which supports SwiftUI and Duo layouts. The skill scans the project for layout problems, proposes patches, applies approved changes, and verifies the result in the simulator.

Terminal users can take a different route with Anthropic's official Xcode plugin from the Claude Code marketplace, installed with /plugin install xcode@claude-plugins-official. The plugin can build, run and test an app, render SwiftUI previews, and search Apple's developer documentation. Its simulator access uses Claude's computer-use system to operate the visible simulator window, while the integrated simulator pane remains specific to Claude Code Desktop.

Five limits shape the workflow

The feature has clear boundaries. It works only in local sessions on a Mac running Claude Code Desktop; cloud and SSH sessions cannot access simulators on the Mac. It controls simulated hardware only, so Claude cannot operate a physical iPhone or iPad, and final validation still belongs on a real device. Each session supports up to four simulator panes, and each pane belongs to the session that opened it.

Screenshots captured by Claude are sent to Anthropic under the conversation's retention policy, and Anthropic advises against using real accounts on a controlled simulator. Apple's runtime restrictions also remain: the initial launch can take several minutes, StandBy is unavailable, and most app extensions cannot run or be debugged in the Duo runtime.

The feature is available on Pro, Max, Team and Enterprise plans, excluding enterprise organisations configured for HIPAA. Existing iOS apps can run on iPhone Duo without a full rewrite, while Apple's newer APIs support layouts that need foldable-specific behaviour.

← Back to all guides

Comments (0)

Leave a comment