Closed Sajjad-Zafar closed 5 years ago
@Sajjad-Zafar Hi, sorry for the late response. There are 2 ways of dealing with this issue:
Push from the tab bar controller and not from tab 0:
//in tab 0
self.currentTabBar?.pushViewController(controller, animated: true)
Push from tab 0 but hide the bar
self.currentTabBar?.set(hidden: true)
pushViewController(controller, animated: true)
I personally recommend the first solution, since that way you don't have to manually show/hide the bar.
how to hide the tabbar on a view controller that is pushed from tab 0.