33.1 An Overview of SwiftUI TabView
Tabbed views are created in SwiftUI using the TabView container view and consist of a range of child views which represent the screens through which the user will navigate.
By default, the TabView presents a tab bar at the bottom of the layout containing the tab items used to navigate between the child views. A tab item is applied to each content view using a modifier and can be customized to contain Text and Image views (other view types are not supported in tab items).
The currently selected tab may also be controlled programmatically by adding tags to the tab items.
Figure 33-1 shows an example TabView layout:
Figure 33-1