When I access my Search View from my tab bar, the view gets loaded when SearchViewController interface is set like this:
@interface SearchViewController : UIViewController
but it crashes when I set it like this (although it doesn't crash when it is not accessed through the tab bar): @interface SearchViewController : UITableViewController
Why? I need the UITableViewController as I have a table view that I access from the tab bar.