0

I created a tabbar, but I couldn't give the slide transition effect between pages. I don't know how to do it. Can you. I do not yet have the information to do.

 TabView{
            
            VStack{
                
                Text("1st screen").font(.largeTitle)
                
            }.tabItem{
                Image(systemName: "1.circle")
                Text("1")
            }.tag(0)
            
            VStack{
                
                Text("2st screen").font(.largeTitle)
                
            }.tabItem{
                Image("img")
                Text("2")
            }.tag(1)
            VStack{
                
                Text("3st screen").font(.largeTitle)
                
            }.tabItem{
                Image("img")
                Text("3")
            }.tag(3)
            VStack{
                
                Text("4st screen").font(.largeTitle)
                
            }.tabItem{
                Image("img")
                Text("4")
            }.tag(4)
            
        }
metaflor22
  • 165
  • 1
  • 9

0 Answers0