user1344851
user1344851

Reputation:

tabbar item via storyboard

I have table view controller that connected to the navigation controller, I added the tabbar and 3 tabbar items as, you can see in storyboard!

enter image description here

I added navigation bar button programmatically, here is the picture:

enter image description here

Right-now I have problem with my tabar items. I don't know how I can connect them to their own views! since I don't have tab bar controller as I create them via interface builder

would anyone please help me!

Upvotes: 0

Views: 1145

Answers (1)

longway
longway

Reputation: 181

you should drag a UItabbarcontroller to the stroyboard instead of the nagvigationcontroller.

then you can embbed your child viewcontrolls into navigation controller

Upvotes: 1

Related Questions