Hi, maybe I stumbled on a bug, seems I cannot have more then 10 characters in navigation title in child navigations otherwise it only shows Back.
Example:
The first scene works fine, it's just a simple Home view
struct StartView: View {
var body: some View {
NavigationView {
List {
Section(header: Text("Food")) {
NavigationLink("Recipes", destination: RecipeView())
}
}
.listStyle(GroupedListStyle())
.navigationTitle("Home")
}
}
}
Having more then 10 display's Back instead of Recipesssss when navigating to RecipeAddView()
struct RecipeView: View {
var body: some View {
List {
}
.navigationTitle("Recipesssss")
.toolbar {
NavigationLink("Add", destination: RecipeAddView())
}
}
}
Anyone got same problem? Or I am missing something?