user1185305 user1185305 - 18 days ago 9
iOS Question

iOS UITabBar position and items

I've created a view and I added a UITabBar dragged from Storyboard.
The problems I'm facing are the following. I'm trying to add more items to the UITabBar from storyboard but can't seem to find any information of how to do that. Any pointers would be appreciated
I'm not using UITabBarController.

Is it possible to decide where to place the tab bar. If I want it in the middle of the screen for testing?

Thanks

Answer

here is the steps :

  1. Add a Tab bar to your View controller .
  2. Drag a tab bar item and add it to you tab bar like soenter image description here

And you are done; By default the tab bar will be added to the bottom of the screen