I have a subclass UITableViewControllerdisplayed modally on an iPad. The view controller has a subclass of UISearchDisplayControllerc UISearchBar, included in the table header view.
The subclassian UISearchDisplayControlleris called NoAnimationSearchDisplayController, and I redefined the method - (void)setActive:(BOOL)visible animated:(BOOL)animated
to prevent the search bar from being animated in the navigation bar when it is set to active. Overriding the method below ...
- (void)setActive:(BOOL)visible animated:(BOOL)animated
{
if (self.active == visible) {
return;
}
[self.searchContentsController.navigationController setNavigationBarHidden:YES animated:NO];
[super setActive:visible animated:animated];
[self.searchContentsController.navigationController setNavigationBarHidden:NO animated:NO];
if (visible) {
[self.searchBar becomeFirstResponder];
} else {
[self.searchBar resignFirstResponder];
}
}
The problem I ran into is that when I searched and the results are displayed in my view of the table of the display controller, everything looks fine, until I scroll down the list, at the moment the content appears inside the cells above the search bar, as shown on the next screen:

UISearchBarStyleMinimal, . - , , ? , .