NikolaSwift
NikolaSwift

Reputation: 35

Navigation View in Tab View Child Views SwiftUi

I have started learning swiftUI so I have question about Navigation View. My app starts with splash screen which is embedded in Navigation View and after that I have navigation link to the second screen which is Tab View. Do I need navigation views in child views of Tab View if I have some button etc and I also need to go to other screens from them or I use primary navigation view which tab view is embedded in?

Upvotes: 0

Views: 376

Answers (1)

DevSec
DevSec

Reputation: 1

When using both TabView and NavigationView, TabView should always be the parent view and should contain NavigationView inside it. Hope this clarifies what you’re looking for?

Upvotes: 0

Related Questions