<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UINavigationController/interactivePopGestureRecognizer",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UINavigationController(py)interactivePopGestureRecognizer"
  },
  "title" : "interactivePopGestureRecognizer"
}
-->

# interactivePopGestureRecognizer

The gesture recognizer that handles interactively popping the top view controller off the navigation stack
when a person swipes from the leading screen edge.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)