I have a viewController which contains a tableView; I have a UIView in the header of the table and have dragged a searchDisplayController into the view, along with a segmented control. (I didnt want to use the scope for some reasons, incase u were wondering). Now my problem is that this check if (tableView==self.searchDisplayController.searchResultsTableView) in cellForRow fails even when the user is typing in the searchBar. I have no idea why??!! As far as I know all the delegates etc are hooked up automatically when u drag the controller into a view. The check is only true once the user presses the search button on the keyboard and then scrolls the table a little, and I know this is not how its supposed to work!?
Can anyone shed some light on what might be going on here? Its driving me crazy!
Many thanks
Jules