I am attaching a Tab Bar Controller to an existing view with a toolbar, however I am getting the tab bar controller offset at the bottom, so you can just see the top of the items. I am using the following to attach the Tab Bar Controller to the view:
- (void)viewDidLoad { [self.view insertSubview:dashboardTabController.view atIndex:0]; }
I have attached an image. I hope someone can help as I've been trying to fix this for hours now, and it's driving me crazy.
Thanks
Kuli
Image is available to view at: http://img246.imageshack.us/img246/5825/iphonesimulatorscreensn.jpg