I am working on a project when client wants UITabBar
lookalike toolbar (icons and titles) at the bottom of some views.
The tab bar needs to have 1 item at the left, empty space, and then 2 items at the right.
Do I have to use 2 extra UITabBarItem
s (and put them at second and third position) and hide and disable them to accomplish this, or is there a more straightforward solution?
I would like to not to use UIToolBar
for this as customizing its height is a pain and causes unexpected behavior in some cases (especially when one uses modal view controllers).