|
@@ -24,7 +24,6 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
24
|
24
|
@property (nonatomic) BOOL _statusBarHideWithNavBar;
|
25
|
25
|
@property (nonatomic) BOOL _statusBarHidden;
|
26
|
26
|
@property (nonatomic) BOOL _statusBarTextColorSchemeLight;
|
27
|
|
-@property (nonatomic) BOOL _disableBackGesture;
|
28
|
27
|
@property (nonatomic, strong) NSDictionary *originalNavBarImages;
|
29
|
28
|
@property (nonatomic, strong) UIImageView *navBarHairlineImageView;
|
30
|
29
|
@end
|
|
@@ -658,7 +657,9 @@ const NSInteger TRANSPARENT_NAVBAR_TAG = 78264803;
|
658
|
657
|
|
659
|
658
|
#pragma mark - UIGestureRecognizerDelegate
|
660
|
659
|
-(BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
|
661
|
|
- return self._disableBackGesture ? self._disableBackGesture : YES;
|
|
660
|
+ NSNumber *disabledBackGesture = self.navigatorStyle[@"disabledBackGesture"];
|
|
661
|
+ BOOL disabledBackGestureBool = disabledBackGesture ? [disabledBackGesture boolValue] : NO;
|
|
662
|
+ return !disabledBackGestureBool;
|
662
|
663
|
}
|
663
|
664
|
|
664
|
665
|
|