Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
For my case the error and subsequent lockup/crash of WatchOS was caused by stacked use of NavigationStack i.e. The destination was rooted in a NavigationStack itself.
The fix was changing NavigationStack to NavigationView YMMV
e.g
struct CrashyView: View {
@Binding var buttons: [WatchButton]
@State var isRoot: Bool = true
var body: some View {
NavigationStack { // <--- change to `NavigationView` to avoid error
VStack {
List(buttons) { button in
NavigationLink {
CrashyView(buttons: .constant(button.children), isRoot: false) //<-- recursive stacking of `NavigationStack` is a problem
} label: {
ButtonView(button: button)
}
}
}
}
}
}