Building an app that works on both iPhone and iPad isn’t particularly complicated. SwiftUI provides the necessary tools to adapt to different screen sizes so that users get the best experience for the device they are currently using.
In this tutorial we’ll look at how to build a responsive design that works on the smaller iPhone screen as well as the larger screens found on the iPad. As a bonus, we’ll use the “Mac (Designed for iPad)” setting in the target so that you can use the app on any Mac that uses Apple Silicon.
[Read more…]