Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.5 KB

README.md

File metadata and controls

43 lines (24 loc) · 1.5 KB

AHKNavigationController

License: MIT CocoaPods

A UINavigationController subclass that re-enables the interactive pop gesture (UIScreenEdgePanGestureRecognizer instance) when the navigation bar is hidden or a custom back button is used.

The solution is explained in detail in a blog post: Interactive Pop Gesture with Custom Back Button or Hidden Navigation Bar

Demo

To run the example project: clone the repo, and run pod install from the Example directory first. Alternatively, run pod try AHKNavigationController from the command line.

Requirements

  • iOS 7
  • ARC enabled

Installation

AHKNavigationController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AHKNavigationController"

and set your navigation controller to be an instance of AHKNavigationController or its subclass.

If you don't use CocoaPods, you can simply copy the files from Classes/ directory to your project.

Author

Arkadiusz Holko:

Credits

The example project was created by @chakrit.