This SwiftUI lesson shows how to use GeometryReader and max width so an interface adapts to iPad, Slide Over and small screen sizes. It is aimed at people learning SwiftUI layout.
What you’ll learn
✓Use GeometryReader to size SwiftUI views to the available space
✓Apply a max width so a layout adapts to iPad and Slide Over