My iPhone App has requirement to be locked to portrait, except on certain screens like when showing a video player or other content. What is the best SwiftUI way to do this?
In iOS 27, iPhone apps can now be resized for iPhone Mirroring, or when running on an iPad. SwiftUI makes it really easy to support resizability by leveraging size classes and more, and you can learn more about resizability from What’s New in SwiftUI.
We encourage you to reconsider the requirement and design the app for all Apple devices, meeting customers where they are.