TabView disappearing on Xcode 13

I am trying to add a Tab View to my app. On Xcode 13 it disappears when I navigate to a tab that contains a List or view that has a scroll enabled. I am not sure if this is a bug or not. It works perfectly fine on Xcode 12.5.1 to iOS 15 Device. But Xcode 13 to iOS 15 is not working.

Here is my Code:

struct ContentView: View {

    var body: some View {

        TabView {

            HomeView()

                .tabItem {

                    Image(systemName: "1.circle")

                    Text("First")

                }

                .tag(1)

            FirstView()

                .tabItem {

                    Image(systemName: "2.circle")

                    Text("Second")

                }

                .tag(2)

        }

    }

}

struct HomeView: View {

    var body: some View {



        Text("Hello, World!")



        

        

    }

}

struct FirstView: View {

    var body: some View {

        NavigationView{

            List{

                Text("Hello")

            }

        }

    }

}


works without any problems for me on macos 12.beta, xcode 13.beta, target ios 15 and macCatalyst. I can see the TabView just like you show in your picture. Tested on real devices, simulators and in the preview.

Oh sorry, I meant. I cant see the background in the TabView. I can see the tab view but the background show anymore in Xcode 13 target iOS 15. https://www.icloud.com/iclouddrive/0PGoBXSs0Vl1PizoP-omH6EIQ#Screen_Recording_2021-07-16_at_4.56.07_PM

In this video, you can see that the background disappears when moved to another tab

 I cant see the background in the TabView.

There were changes in the display of tab.

We refined the appearance of UIToolbar and UITabBar. This updated look removes the background material when scrolled to bottom, giving more visual clarity to your content. In UITabBar, we've enhanced support for SF Symbols, giving great results when using any of your favorite symbols.

Look at WWDC21 videos on UIKit for more info.

Look here

https://developer.apple.com/videos/play/wwdc2021/10059/?time=336

and here for a synthesis of UIKit evolutions:

https : / / w w w .wwdcnotes.com/notes/wwdc21/10059/

well why do you say "TabView disappearing on Xcode 13", if you mean "I cant see the background"

I thought it was called that. And I messed up sorry. Could you please let me know how to get the blur background back?

TabView disappearing on Xcode 13
 
 
Q