Reputation: 15639
I want to make UITabBar, (not UITabBarController) in my viewDidLoad of ViewController.
Upvotes: 1
Views: 874
Reputation: 10475
You want to 'make' UITabBar in your viewDidLoad?? I am going to assume that you want to use a UITabBar without the tab bar controller...
just create an object of UITabBar, set your controller as it's delegate, add it as a subview to your controller's view, implement the tab bar delegate methods.. and you are doen.. of course you'll have to specify how many tabs it should have, their titles, images etc just like you do with a tab bar controller...
Upvotes: 3