Forward to any popped viewController with familiar slide gesture
- slide from right edge to push to the popped viewcontroller
- uses bezire function animation, to replicate UINavigation pop and push animations.
- disable/enable push gesture on indiviual view controllers.
- supports RTL/LTR.
- supports iOS 14 new back history list.
To run the example project, clone the repo, and run pod install
from the Example directory first.
you can either use ForwardNavigationController in code or in storyboard.
- Code
let vc = ForwardNavigationController(rootViewController: UIViewController())
- Storyboard
- Disable Push gesture if needed
(self.navigationController as? ForwardNavigationController)?.allowForward = false
iOS 9.0+
ForwardNavigationController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ForwardNavigationController'
mouhammedali, mouhammedaliamer@gmail.com
ForwardNavigationController is available under the MIT license. See the LICENSE file for more info.