Backporting SwiftUI APIs
Usually, we don’t see many new APIs in intermediate releases like 27.1, but this time is different. Apple introduced several new iPhone Duo-related APIs in the 27.1 release. This week, we will learn how to use all of these new APIs without bumping your project’s target version.
ArrangementView: Think Before You Arrange
When I first saw the ArrangementView API, something about it felt vaguely awkward, though I couldn’t quite put my finger on why. It wasn’t until I actually used it in Xcode 27.1 beta that the feeling began to take shape. After reading more of Apple’s materials and putting the API back into the context of the iPhone Duo, I realized that this discomfort came from two places.
iPhone Duo Group Lab - Q&A
This lab focused on adapting iPhone apps for iPhone Duo: responsive layouts, poses, the vertical bar, size classes, system components, resizability, accessibility, multi-window support, testing, and the new Xcode 27.1 tooling.
Adjusting the hinge angle in the iPhone Duo simulator
In Xcode 27.1, the iPhone Duo simulator has a slider for controlling the hinge angle, but it isn't visible by default. To reveal it, we need to hold the Option (⌥) key while the simulator is focused.
iPhone Duo Simulator: Testing and optimizing your SwiftUI app
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 app adapt.
