PopupBar is disappearing after hidesBottomBarWhenPushed #531
-
Describe the Bug Tab bar I'm hiding via To Reproduce Expected Behavior Additional Context |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
transitionCoordinator?.animate(alongsideTransition: nil, completion: { context in
guard context.isCancelled == false else { return }
self.tabBarController?.presentPopupBar(withContentViewController: UIViewController(), animated: true)
})
} |
Beta Was this translation helpful? Give feedback.
Hello,
Presenting/dismissing the popup bar during toolbar or tab bar hiding/showing transition is not supported. I suggest you present/dismiss the popup bar either in
viewDidAppear
/viewDidDisappear
, or, preferably, using