I have an app for iOS7 and below. I used UISearchDisplayController to search the table.
Problem:
After the title of the search header is not displayed in iOS8.
as shown in the images below.
Before searching: 
After the search: 
I tried using the UISearchController but also had the same problem I used this
link code
I am adding the code below in TPSMastreViewController.m
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { UIView *v = [[UIView alloc] init]; v.backgroundColor = [UIColor greenColor]; return v; }
I checked that the delegate is (UIView *) tableView: (UITableView *) tableView
viewForHeaderInSection: (NSInteger) section
not called in case of iOS8.
Edit:I understand that only the delegate UITableViewDataSource is called, UITableViewDelegate did not.
Please, not that I set both delegates to ViewDidLoad
Question:1] Is this a user interface change?
2] Any of them has a patch so that the delegate method is called forcefully.
source share