Commit 93142b1d by phlippieb

Added custom navigationBarClass support to NavigationController

parent 9b69558f
......@@ -70,6 +70,11 @@ open class NavigationController: UINavigationController {
setViewControllers([rootViewController], animated: false)
}
public init(rootViewController: UIViewController, navigationBarClass: Swift.AnyClass?) {
super.init(navigationBarClass: navigationBarClass, toolbarClass: nil)
setViewControllers([rootViewController], animated: false)
}
open override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
guard let v = interactivePopGestureRecognizer else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment