TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2015 |
Maintained by Moch, Moch Xiao.
Swipe back pop animation, not just trigger screen edge!
pod CHXSwipeBackPopAnimator
your pod filepod update --no-repo-update --verbose
Edit you UINavigationController
file
#import <CHXSwipeBackPopAnimator/CHXSwipeBackPopAnimator.h>
...
@property (nonatomic, strong) CHXPopAnimatorCarrier *carrier;
...
self.carrier = [[CHXPopAnimatorPayload alloc] initWithNavigationController:self];
self.delegate = self.carrier;
Temporary shield
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController chx_disableInteractivePopGestureRecognizerButPreventScreenEdge:NO];
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[self.navigationController chx_enableInteractivePopGestureRecognizer];
}