Templates

Vertical Stacks

85
This SwiftUI template can be downloaded and opened in DetailsPro on iPhone, iPad, and Mac.
Open in DetailsPro

If you want to put things above and below each other, you use Vertical Stacks. A Vertical Stack arranges elements vertically down the screen.


In this 101 example, there is a single Vertical Stack with three elements inside: An image, text, and symbol.


Notice that the Vertical Stack also centers elements. You can adjust this by changing the stack’s alignment.

MORE BY DETAILSPRO