interactivePopGestureRecognizer
The gesture recognizer responsible for popping the top view controller off the navigation stack when a person swipes from the leading screen edge.
Declaration
var interactivePopGestureRecognizer: UIGestureRecognizer? { get }Discussion
The navigation controller installs this gesture recognizer on its view and uses it to pop the topmost view controller off the navigation stack when a person swipes horizontally from the leading edge of the screen.
Use this property to retrieve the gesture recognizer and tie it to the behavior of other gesture recognizers in your user interface.