This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| c = get_config() | |
| c.IPKernelApp.pylab = 'inline' # in-line figure when using Matplotlib | |
| c.NotebookApp.ip = '*' # Serve notebooks locally. | |
| c.NotebookApp.open_browser = False # Do not open a browser window by default when using notebooks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override func viewWillAppear(_ animated: Bool) { | |
| super.viewWillAppear(animated) | |
| self.navigationController?.setNavigationBarHidden(true, animated: true) | |
| self.navigationController?.interactivePopGestureRecognizer?.delegate = nil | |
| } | |
| override func viewWillDisappear(_ animated: Bool) { | |
| super.viewWillDisappear(animated) | |
| if self.isMovingFromParentViewController { | |
| self.navigationController?.setNavigationBarHidden(false, animated: true) |