WatchTabView Inside NavigationView in SwiftUI
Build elegant tabs for watchOS
Published in
2 min readJan 16, 2022
The official TabView in SwiftUI looks simple and elegant. But unfortunately, it still can’t work properly if you put it inside NavigationView, on iOS and WatchOS both.
On iOS, if a TabView
is embedded in NavigationView
, it will reset the navigation state and pop the NavigationView
back to root every now and…