Go to the iOS page to hide the following bar, such as tabbar.
A basic layout framework commonly used during app development is tabbar + navigation, which is the tabbar module below. Then, you can use the navigation bar in each module to go deep into each interface.
Sometimes we need to hide the tabbar below when redirecting to some interfaces. How to do this is simple:
// Enter a certain interface. NextViewController * nextVC = [[TypeSupplierViewController alloc] init]; // set the nextVC attribute based on the type of clicks. hidesBottomBarWhenPushed = YES; // hide tabbar [self. navigationController pushViewController: nextVC animated: YES]; self. hidesBottomBarWhenPushed = NO; // The tabbar is displayed when you exit.
In this way, the last line cannot be used.
Here, bottombar is not only used for tabbar, but also for other bars. However, tabbar is commonly used.