From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传
---
screendisplay/screendisplay/Classes/Base/BaseControllers/LMJNavigationController.m | 70 +++++++++++++++++++++++++++++++++++
1 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/screendisplay/screendisplay/Classes/Base/BaseControllers/LMJNavigationController.m b/screendisplay/screendisplay/Classes/Base/BaseControllers/LMJNavigationController.m
new file mode 100755
index 0000000..b280064
--- /dev/null
+++ b/screendisplay/screendisplay/Classes/Base/BaseControllers/LMJNavigationController.m
@@ -0,0 +1,70 @@
+//
+// LMJNavigationController.m
+// PLMMPRJK
+//
+// Created by NJHu on 2017/3/31.
+// Copyright �� 2017��� GoMePrjk. All rights reserved.
+//
+
+#import "LMJNavigationController.h"
+
+@interface LMJNavigationController ()
+
+/** ������������������������������������������ */
+//@property (nonatomic, strong) id popGesDelegate;
+
+@end
+
+@implementation LMJNavigationController
+
+- (void)viewDidLoad {
+ [super viewDidLoad];
+
+ self.navigationBar.hidden = YES;
+
+
+ [self setupPOPGes];
+}
+/*
+#pragma mark - ������������������------------BEGIN----
+- (void)getSystemGestureOfBack
+{
+ // ���������������pop������
+ UIPanGestureRecognizer *panGes = [[UIPanGestureRecognizer alloc] initWithTarget:self.interactivePopGestureRecognizer.delegate action:NSSelectorFromString(@"handleNavigationTransition:")];
+
+ [self.view addGestureRecognizer:panGes];
+
+ panGes.delegate = self;
+
+ // ���������������������
+ self.interactivePopGestureRecognizer.enabled = NO;
+
+}
+
+
+- (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
+{
+ // ���������������������������
+ return self.childViewControllers.count > 1;
+}
+#pragma mark - ������������������------------END----
+*/
+
+- (void)setupPOPGes
+{
+ self.fd_viewControllerBasedNavigationBarAppearanceEnabled = NO;
+}
+
+- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
+{
+// if (self.childViewControllers.count != 0) {
+// viewController.hidesBottomBarWhenPushed = YES;
+// }
+
+ [super pushViewController:viewController animated:animated];
+}
+
+
+@end
+
+
--
Gitblit v1.8.0