Search code examples
iphonenavigationcontrollertabbarcontroller

UISearchDisplayController,UINavigationController,UITabBarController Woes


Hey everyone, running into a bit of an issue,

I have created all my views through IB, with the main window having a NavigationController, and a TabBarController which loads a TableViewController in its first tab.

The problem happens when i use the searchbarcontroller in the navigation controller, everything works fine with the exception that when the navigation bar at the top disappears, the table expands too high, and i can't figure out what im doing wrong.

Attached is an image of what im referring to, any help would be greatly appreciated.

alt text http://img263.imageshack.us/img263/4706/picture1ot.png

Some more information:

i have my MainWindow with a UINavigationController, and a UITabBarController. On the first Tab, i have it loading another nib "AVN_TableController" which is a UITableViewController nib, with the Searchbar delegate.


Solution

  • I ended up going the route of creating my own tabbarcontroller, as that was causing the issue.