I am developing app in swiftUI in which every screen has same custom navigation bar with diff titles.
Instead of creating custom navigation view in every screen I want to reuse it.
What will be the best approach to do that?
for now i have done as follow but this works only for single screen
var body: some View {
ZStack {
VStack {
Image("Custom_Navigation_Image")
.resizable()
.frame(height: 135)
.edgesIgnoringSafeArea(.all)
Spacer()
}
}
I want to create custom navigation as below

Thank You for help