This looks like a complete magic, but it works, i use Xcode Version 14.0 beta 2 (14A5229c), tested on IOS 14.1, 14.5, 15 and 16.
This line obviously is a hack, but i don't care, to be honest :) interactivePopGestureRecognizer?.delegate = self
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: