hidesBottomBarWhenPushed opposite method

Hi everybody, I use this method hidesBottomBarWhenPushed to hide the tabbar when I push a new view controller. but when I back to root view controller I would like to show back again the tab bar.

how can I do It?

thanks

You could just toggle it back on, as it is a property:

var hidesBottomBarWhenPushed: Bool { get set }

From the documentation:

If the value of this property is true, the toolbar is hidden. If the value of this property is false, the bar is visible.

This topic was automatically closed after 166 days. New replies are no longer allowed.