# iPhone Duo Simulator: Testing and optimizing your SwiftUI app

DevFeed: [iPhone Duo Simulator: Testing and optimizing your SwiftUI app](<https://devfeed.tech/articles/iphone-duo-simulator-testing-and-optimizing-your-swiftui-app-58062.md>)

Original publisher: [Read original article](<https://www.avanderlee.com/swiftui/iphone-duo-simulator/>)

Author: Antoine van der Lee

Published: 2026-09-22T10:14:40Z

Content type: tutorial

Language: en

Sources: [SwiftLee](<https://devfeed.tech/sources/swiftlee.md>)

Topics: [iphone](<https://devfeed.tech/topics/iphone.md>), [SwiftUI](<https://devfeed.tech/topics/swiftui.md>), [Xcode](<https://devfeed.tech/topics/xcode.md>), [layout](<https://devfeed.tech/topics/layout.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>), [ipad](<https://devfeed.tech/topics/ipad.md>)

Tags: [apps](<https://devfeed.tech/tags/apps.md>), [build](<https://devfeed.tech/tags/build.md>), [devices](<https://devfeed.tech/tags/devices.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ipad](<https://devfeed.tech/tags/ipad.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [layout](<https://devfeed.tech/tags/layout.md>), [optimizing](<https://devfeed.tech/tags/optimizing.md>), [screen](<https://devfeed.tech/tags/screen.md>), [simulator](<https://devfeed.tech/tags/simulator.md>), [swiftui](<https://devfeed.tech/tags/swiftui.md>), [testing](<https://devfeed.tech/tags/testing.md>), [xcode](<https://devfeed.tech/tags/xcode.md>)

## AI overview

A tutorial on using the iPhone Duo Simulator in Xcode 27.1 to test SwiftUI apps across different hinge angles, displays, and poses. It explains how to install the simulator and build layouts that respond to available space rather than fixed device identifiers, orientations, or screen widths.

## Source excerpt

As soon as the iPhone Duo got announced, we were all waiting for an iPhone Duo Simulator inside Xcode. We eventually got it with the first beta of Xcode 27.1. This Simulator is unlike any other and a lot of fun to explore, allowing you to fold the device into different angles while watching your ... -> The post iPhone Duo Simulator: Testing and optimizing your SwiftUI app appeared first on SwiftLee.