Before adding support for iPhone Duo, make sure your SwiftUI app is ready for larger screens and adaptable layouts. In this first video of a two-part series, I take an iPhone-only, portrait-only app with an iOS 26.5 deployment target and update it for iPad—while preserving compatibility for existing users.
You’ll learn how to:
• Add iPad as a supported destination in Xcode
• Enable adaptable orientations without raising your minimum deployment target
• Replace NavigationStack with NavigationSplitView for better use of available space
• Manage list selection and display an empty detail state with ContentUnavailableView
• Use .sidebarAdaptable TabView styling for iPad sidebars and compact layouts
• Simplify crowded toolbars by grouping secondary actions in a menu
• Support landscape layouts on larger iPhones
• Keep a SwiftUI searchable field visible with navigationBarDrawer(displayMode: .always)
• Test the same app across iPhone and iPad simulators in Xcode’s Device Hub
Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning.