Short of actually creating a UITabBarController and performing the relevant experiment, does iOS have a programmatic way of getting the maximum number of tabs that could show up in the tabBarController, without a "more" tab?
This would be highly helpful for some cross-platform work I'm doing.
To add a tab, first drag a new View Controller object to the storybard. Next control-drag from the tab bar controller to new view controller and select view controllers under Relationship Segue . Your tab bar controller will update with a new tab.
A container view controller that manages a multiselection interface, where the selection determines which child view controller to display.
The most is 5 (on an iPhone, 8 on an iPad). When you add a sixth you get the 1st four plus a More tab with the other two. This can't be changed using a standard UITabBarController
.
Search github or other resources. There may be drop in replacement classes that will let you have more tabs shown at once.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With