[SwiftUI] How to use TabView

Updated
Sep 19, 2019 2:00 PM
Created
Sep 17, 2019 2:47 PM
Tags
SwiftUI.frameworkMemo
Keywords

image
var body: some View {
    TabView {
      HomeView()
        .tabItem {
          Text("Home")
      }
      
      NotificationsView()
        .tabItem {
          Text("Notification")
      }
      
      MyPageView()
        .tabItem {
          Text("MyPage")
      }
    }
  }

Other Notes

📖
Notes