forXifLess / LinkNavigator

🌊 Easy & Powerful navigation library in SwiftUI
Other
331 stars 23 forks source link

How to hidden navigationBar? #32

Closed LongJiang90 closed 3 months ago

LongJiang90 commented 3 months ago

I want to hide the navigationBar and use my own custom view to return. I use TabLinkNavigationView+tabLinkNavigator, but now I cannot hide the navigationBar on the homepage below the tab

interactord commented 3 months ago

You can implement it using the commonly used SwiftUI method.

Refer to the example guide

VStack { } .navigationBarHidden(true) .navigationTitle("")

스크린샷 2024-04-08 오후 8 47 37
LongJiang90 commented 3 months ago

I forgot about this line .navigationTitle(""), it's okay now, thank you!