Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JazysYu committed Nov 30, 2017
1 parent 703cef0 commit e5bbc64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions JZNavigationExtension/UIViewController+JZExtension.m
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ - (BOOL)jz_hasNavigationBarTintColorSetterBeenCalled {

- (void)setJz_navigationInteractivePopGestureEnabled:(BOOL)jz_navigationInteractivePopGestureEnabled {
objc_setAssociatedObject(self, @selector(jz_navigationInteractivePopGestureEnabled), @(jz_navigationInteractivePopGestureEnabled), OBJC_ASSOCIATION_ASSIGN);
self.navigationController.interactivePopGestureRecognizer.enabled = jz_navigationInteractivePopGestureEnabled;
}

- (BOOL)jz_navigationInteractivePopGestureEnabled {
Expand Down

0 comments on commit e5bbc64

Please sign in to comment.