Issue #471
let navigationController = UINavigationController(rootViewController: viewControllerA)
navigationController.pushViewController(viewControllerB, animated: true)
In view controller B, need to set hidesBottomBarWhenPushed
in init
final class ViewControllerB: UIViewController {
let mainView = EditPaymentMethodView()
var scenario: PaymentMethodScenario!
init() {
super.init(nibName: nil, bundle: nil)
hidesBottomBarWhenPushed = true
}
required init?(coder: NSCoder) {
fatalError()
}
}