# xcode-27.1

Published articles for xcode-27.1.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Adapting a SwiftUI Courier App for iPhone Duo's Foldable Display

DevFeed: [Adapting a SwiftUI Courier App for iPhone Duo's Foldable Display](<https://devfeed.tech/articles/adapting-a-swiftui-courier-app-for-iphone-duo-s-foldable-display-106879.md>)

Original publisher: [Read original article](<https://hackernoon.com/adapting-a-swiftui-courier-app-for-iphone-duos-foldable-display?source=rss>)

Author: Philip Ellis

Published: 2026-10-29T20:29:54Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [SwiftUI](<https://devfeed.tech/topics/swiftui.md>), [iphone](<https://devfeed.tech/topics/iphone.md>), [mobile optimization](<https://devfeed.tech/topics/mobile-optimization.md>), [appstores](<https://devfeed.tech/topics/appstores.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [actions](<https://devfeed.tech/tags/actions.md>), [added](<https://devfeed.tech/tags/added.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [android](<https://devfeed.tech/tags/android.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [app](<https://devfeed.tech/tags/app.md>), [app-store](<https://devfeed.tech/tags/app-store.md>), [appearance](<https://devfeed.tech/tags/appearance.md>), [display](<https://devfeed.tech/tags/display.md>), [duo](<https://devfeed.tech/tags/duo.md>), [foldable-phones-ui](<https://devfeed.tech/tags/foldable-phones-ui.md>), [ios-app-development](<https://devfeed.tech/tags/ios-app-development.md>), [ios-simulator](<https://devfeed.tech/tags/ios-simulator.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [iphone-duo](<https://devfeed.tech/tags/iphone-duo.md>), [iphone-duo-app-design](<https://devfeed.tech/tags/iphone-duo-app-design.md>), [iphone-duo-ui-testing](<https://devfeed.tech/tags/iphone-duo-ui-testing.md>), [map](<https://devfeed.tech/tags/map.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [screenshot](<https://devfeed.tech/tags/screenshot.md>), [store](<https://devfeed.tech/tags/store.md>), [swiftui](<https://devfeed.tech/tags/swiftui.md>), [swiftui-sheets](<https://devfeed.tech/tags/swiftui-sheets.md>), [xcode-27-1](<https://devfeed.tech/tags/xcode-27-1.md>)

### AI overview

The excerpt describes adapting a SwiftUI courier app for the iPhone Duo using iOS 27.1 simulator and Xcode 27.1 beta tooling. The app measures the sheet and map frames with `onGeometryChange` to detect docking, then shares that placement state across views. When docked, it hides the navigation bar and overlays reachable controls on the map; Dynamic Type and `ViewThatFits` allow controls to wrap, and the bottom sheet's medium detent is removed or restored according to placement while preserving useful selection state. The map gets trailing safe-area padding for the docked sheet, and its route is refit after layout changes; the 300 ms delay is an app-specific workaround. For screenshots, the team selected the largest nonblank display image, checked capture dimensions, restored unfolded posture after simulator reboot, and launched fixture scenes directly. These capture workarounds do not replace testing real navigation. The excerpt notes its observations are specific to the beta tooling and that the app was not tested on the announced touchscreen MacBook Pro.

### Source excerpt

How we adapted our courier app for iPhone Duo: reachable navigation, usable side sheets, map framing after resizing, and App Store screenshot preparation.