When i add new tab bar item to the view, it will mess up like below picture (Second picture). I don't know what is the problem, how can i solve this? Thank You!
Now using tab bar controller you can add the new tabbar item for a new controller by following these steps:
Drag a tab bar controller onto the storyboard.
Drag a view controller.
Open view controller's connections inspecter and find relationship under presenting segues.
Drag from a little circle in front of it to the tab bar controller.Then click on viewcontrollers.
Your connections inspecter for the new viewcontroller should look like the below image. (View Controller seen in the image is the subclass of UITabBarController associated with the tab bar controller)
Now using tab bar controller you can add the new tabbar item for a new controller by following these steps:
Drag a tab bar controller onto the storyboard.
Drag a view controller.
Open view controller's connections inspecter and find relationship under presenting segues.
Drag from a little circle in front of it to the tab bar controller.Then click on viewcontrollers.
Your connections inspecter for the new viewcontroller should look like the below image. (View Controller seen in the image is the subclass of UITabBarController associated with the tab bar controller)