From 4f079628637a0243881103d75e36a7b96455338b Mon Sep 17 00:00:00 2001 From: Kevin Kwon Date: Tue, 24 Mar 2020 16:46:52 +0900 Subject: [PATCH] Update BottomPopupNavigationController.swift BottomPopupNavigationController overrid init(rootViewController: UIViewController) --- .../BottomPopupNavigationController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BottomPopup/BottomPopupController/BottomPopupNavigationController.swift b/BottomPopup/BottomPopupController/BottomPopupNavigationController.swift index 6b7a728..d203df3 100644 --- a/BottomPopup/BottomPopupController/BottomPopupNavigationController.swift +++ b/BottomPopup/BottomPopupController/BottomPopupNavigationController.swift @@ -26,6 +26,12 @@ open class BottomPopupNavigationController: UINavigationController, BottomPopupA initialize() } + + required public override init(rootViewController: UIViewController) { + super.init(rootViewController: rootViewController) + + initialize() + } open override func viewDidLoad() { super.viewDidLoad()