Post not yet marked as solved
Post marked as unsolved with 2 replies, 1,420 views
Hi,
with the previous beta all navigation links place within a toolbar like
view.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
NavigationLink(destination: SearchView()) {
Label("Search", systemImage: "magnifyingglass").font(.title2)
}
}
}
stopped working. Buttons still worked though. As a temporary solution I placed on my toolbar items into a Menu like
view.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Menu {
NavigationLink(destination: SearchView()) {
Label("Search", systemImage: "magnifyingglass").font(.title2)
}
} label: {
Image(systemName: "ellipsis.circle").imageScale(.large)
}
}
Now, in beta 5 this has stopped working as well. Again buttons still work and placing navigation links outside of the navigation bar works as well.
Does anyone else have this issue?