Aspect Ratio
Keeps its width-to-height shape, like 1.78 for 16:9, fitting or filling the space.
Group: Graphics and rendering · Works on: Every view
#Add it
Select the view, open the Inspector's Style tab, open All modifiers at the bottom and tap Add modifier. Search for “Aspect Ratio” and tap it. Its row opens under All modifiers, with its settings.
#Settings
| Setting | What it does |
|---|---|
| Aspect Ratio | Width divided by height, like 1 for a square or 1.78 for 16:9. Empty keeps its own shape. |
| Content Mode | Fit shows all of it inside the space; Fill covers the space and may spill past the edges. |
#Change, move or remove it
Tap the modifier's row under All modifiers to open or close its settings. Its ⋯ menu has Move Up, Move Down and Remove.
Order matters: modifiers apply top to bottom, so padding before a background makes the background bigger.