๐ŸŽTabView

๐Ÿ“— ๅƒ่€ƒ๏ผšSwift Playgrounds (About Me)

struct ContentView: View {
    var body: some View {
        
        // โญ๏ธ 1. TabView container
        TabView {

            // โญ๏ธ 2. subview with .tabItem()
            HomeView().tabItem {
                Label("Home", systemImage: "person")
            }

            // other tabs ...
        }
    }
}

Last updated