SwiftUI TabView - Can't access views with more than 5 tabs

I recently switch to SwiftUI and after figuring out the syntax and how it works, I am really loving the simplicity of building apps.


Recently, I ran into an issue where I created a TabView and assigned different views to each tab. It worked fantastic until I created more than five tabs.


What I did is I create seven tabs and because there wasn't enough room on the device to display all seven, TabView creates a "More" tab. When I tap on the More tab, it takes me to a new view where the last two tabs are now in a list. Here is where I run into a problem. I tap one of the tabs in the list and it takes me to a blank view rather than taking me to the view I assigned to the tabItem. I know the tab works because when I have less than five tabs on the page the same tabitems work as expected. However, these same tabItems don't work when they are in the list generated from the "More" tab.


Is this a bug or is there something different I need to do once I exceed 5 tabs? I haven't found anything on the subject so I thought I would ask more seasoned SwiftUI developers.


Any information you can provide is greatly appreciated.


Thank you.

You will find aa lot here:

h ttps://medium.com/better-programming/working-around-the-shortfalls-of-swiftuis-tabview-ac9aa2a9d894

@Apple, when are you going to fix this? This issue is around for almost a year now. People are working around this a lot but we need a stable fix!
SwiftUI TabView - Can't access views with more than 5 tabs
 
 
Q