SIAgentNews.com
← All news
DevelopingClaude

Claude Code adds simulated foldable iPhone testing for developers

Anthropic's new feature allows developers to test app layouts on a virtual iPhone Duo at any hinge angle without owning the £1,999 device.

· First reported by www.techtimes.co.uk

179 degreesmaximum hinge angle for simulation

The short version

  • Claude Code can simulate the iPhone Duo at any hinge angle between 1 and 179 degrees.
  • The tool identifies layout problems and can implement developer-approved fixes automatically.
  • Developers can use the simulation without purchasing the £1,999 handset.
  • The feature is currently available in a public beta for Claude Code Desktop on macOS.

Why it matters

This lowers the barrier to entry for developers who want to support foldable hardware without high upfront costs. It streamlines the complex task of ensuring apps remain functional as screens change shape and size dynamically.

Simulating the iPhone Duo

Anthropic recently announced a new capability for Claude Code that allows developers to interact with a simulated version of Apple's iPhone Duo. This tool enables users to fold and unfold the virtual device to see how their applications respond to different physical states. It is designed to help creators ensure their software remains usable as the hardware moves from a closed to an open position.

The simulation is particularly detailed because it does not just toggle between two static screens. Instead, developers can specify a specific hinge angle between 1 and 179 degrees to see how the interface behaves in mid-fold. This level of granularity is essential for testing how buttons, text, and videos might crop or shift during active use.

Accessing this technology does not require purchasing the actual hardware, which starts at £1,999 in the UK. Instead, developers can run the simulation on a Mac using Claude Desktop 4.29.0 or later. This provides a way to test high-end hardware compatibility without the significant financial investment of owning the physical phone.

Automated layout fixes

Claude Code utilizes a specific tool called Apple's App Resizability skill to identify layout issues. This skill helps the AI understand how apps need to adjust when they move between different screen sizes and orientations. When a developer asks Claude to prepare an app for the iPhone Duo, the AI can examine the existing project code to find potential problems.

Once a layout issue is identified, the AI can suggest specific changes to the code to resolve the problem. If the developer approves these suggestions, Claude Code can implement the fixes directly into the project. After making the changes, the AI can repeat the simulation tests to verify that the fix actually works as intended.

For example, a developer building a shopping app could ask the AI to check if a checkout button remains accessible during a fold. If the button disappears or becomes unclickable at a certain angle, Claude can propose a code change to keep it visible. This creates a loop of testing, identifying, and fixing bugs that would otherwise be difficult to catch manually.

Technical requirements and limits

To use this feature, developers need a specific software stack including Xcode 27.1 or later and the corresponding iOS simulator runtime. The tool is currently available as part of a public beta for Claude Code Desktop on macOS. Users must have an eligible paid subscription, though some restrictions apply to enterprise and third-party provider accounts.

While the simulation is powerful, Anthropic notes that it cannot detect every possible layout issue. Developers are still expected to conduct additional manual checks before they officially release their apps to the public. The AI acts as a primary testing layer rather than a complete replacement for final quality assurance.

There are also security and privacy boundaries to keep in mind during this process. Anthropic advises developers against signing into real accounts on simulated devices because the screenshots the AI captures are sent to the company. This ensures that sensitive user data is not transmitted while the AI performs its layout analysis.

Impact on app development

The iPhone Duo presents a unique challenge for developers because the interface must adapt dynamically as the user interacts with the hinge. Older builds of apps may have layout restrictions, but apps built with the iOS 27.1 software development kit can use the full display. This new tool helps bridge the gap for developers trying to support these newer software requirements.

For smaller development teams, this integration could significantly reduce the upfront costs of testing on premium hardware. It allows for a faster iteration cycle where developers can see visual feedback on a virtual device while they are still writing the code. This can lead to a smoother user experience for people who own the foldable phones.

As more developers adopt these AI-assisted testing methods, it may become standard to check for

Sources and links

First reported by www.techtimes.co.uk. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

More AI news