Nov 12 2020 · Swift 5.3, iOS 14, Xcode 12
Part 1: Stack Views
About this episode Leave a rating/review See forum comments Cinema mode Mark complete Download course materials Previous episode: 01. Introduction Next episode: 03. Stack Views
Notes: 02. Autoresizing
Autoresizing is very much legacy technology. You will learn how to use constraints to make your layouts more flexible later in the course, but to keep things working as demonstrated in this episode:
- Make sure your “View as” device in Interface Builder matches the simulator you are building to.
- When you make changes to the stack views settings (at 6:30), switch the stack view’s “Layout” setting in the size inspector to “Inferred” and then back to “Autoresizing” to get the right results.
This course was originally recorded in 2018. It has been reviewed and all content and materials updated as of October 2020.