I guess it is due to I have two TabView in one project. do you have any idea? Very likely. Rename your own TabView to something other and tell us what happens. One more, please show us the complete definition of your TabView.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: