     
     override public func viewDidLoad() {
         super.viewDidLoad()
-        weak var weekSelf = self
-        self.interactivePopGestureRecognizer?.delegate = weekSelf
-        self.delegate = weekSelf
+        self.configGestureRecognizer()
         // Do any additional setup after loading the view.
     }
 

        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    override public func  pushViewController(viewController: UIViewController, animated: Bool) {
        self.interactivePopGestureRecognizer?.enabled = false
        super.pushViewController(viewController, animated: animated)

            self.interactivePopGestureRecognizer?.enabled = true
        }
    }
    
    
}
