How To Build Responsive User Interfaces with SwiftUI

CodeWithChris on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI19 min

About this video

Shows how to preview a SwiftUI user interface on different devices in portrait and landscape, adjust views by device, orientation and size class, and apply tips for layouts that work at any screen size. Aimed at developers building iOS apps for multiple screen sizes.

What you’ll learn

  • Preview a SwiftUI layout on different devices in portrait and landscape
  • Detect device orientation and size classes to change a view's layout
  • Apply tips for responsive interfaces that work at any screen size