My iOS Swift 5 (Xcode 14.1) app is humming along. After the last Xcode update, I noticed that when I push a particular view controller with a table view inside a stack, inside a navigation controller, I get the following warning:
[SystemGestureGate] <0x102210320> Gesture: System gesture gate timed out
When I swipe back to pop the troubled view controller, it acts erratically, and sometimes pops just fine. By "erratic", I mean sometimes it partially displays the destination view controller, sometimes freezes in the middle of the swipe for a second or two, etc. When I try to push again into the troubled view controller (after the warning occurs), it freezes the app.
The view controller, stack, table, and cells do NOT have a custom gesture recognizer.
I have not seen this warning anywhere else on the app (including view controllers with stacks, and tables).
My questions are:
- What is "SystemGestureGate: System gesture gate timed out"? I did not find substantive information online on this error.
- What are the condition(s) that would yield such a warning?
I suspect there is something wrong with the table I'm using and am investigating further.
Some troubleshooting steps I took:
- When I remove the table completely, the warning and behavior goes away.
- When I remove the table partially (a section or two), the warning and behavior randomly occurs (I couldn't find a pattern).
- I placed breakpoints and noticed that the error occurs after
viewWillAppear
, but beforeviewDidAppear
.
I am expecting that the view controller will pop by swiping in the same fashion as all the other view controllers in a navigation controller.