Placing Views on the User Interface
Wally Wang · Apress eBooks · 2022
When you place a single view on a user interface, SwiftUI centers it in the middle of the screen whether that screen is a small iPhone screen or a much larger iPad screen. As you add more views to your user interface, SwiftUI simply displays those views on top of each other or side by side, depending on whether you arrange them in a vertical or horizontal stack. However, the more views you add to a user interface, the more crowded neighboring views can appear. To solve this problem, SwiftUI offers several ways to place views on the user interface: