SkillAgentSearch skills...

AHKNavigationController

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

Install / Use

/learn @fastred/AHKNavigationController
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars232
CategoryDevelopment
Updated3d ago
Forks35

Languages

Objective-C

Security Score

95/100

Audited on Mar 25, 2026

No findings