Using Xcode 12 beta (12A6159)
on macOS Catalina 10.15.5 (19F101)
when I press "Back" button in NavigationView, navigating back from a pushed View, I see this warning in the console.
[UIContextMenuInteraction] Attempting -[UIContextMenuInteraction dismissMenu], when not in an active state. This is a client error most often caused by calling dismiss more than once during a given lifecycle. (<_UIVariableGestureContextMenuInteraction: 0x6000037689a0>)
I did not get this warning on Xcode 11.5.
The code is dead simple:
var body: some View {
NavigationView {
NavigationLink(destination: gameScreen) {
Text("Start game")
}
}
}
After having navigated to gameScreen
and then pressing the "Back" button in the NavigationBar I see the logged warning in the console.
I have not upgraded to any of the new SwiftUI stuff like App
or SceneBuilder
etc...