Adaptive

Tips tagged Adaptive.

Pick the layout that fits the space

Trying to work out which layout fits best? Don't bother—offer SwiftUI a few versions of a view, from widest to narrowest, and it shows the first one that fits. No size classes or geometry readers.

22 November 2026 · Layout