Reputation: 3867
I have a table view with a searchdisplayviewcontroller presented in a popoverviewcontroller in iOS 7...
When the searchdisplay is active the results appear over the top of the original table view...
How can I get the results to display correctly?
Now in iOS 6 it works perfectly, could it be a bug in iOS 7?
Upvotes: 2
Views: 1167
Reputation: 86
I faced the same issue. It probably is a bug.
Probably occurs only when display on popover.
See link below.
https://devforums.apple.com/message/888704
- (void)searchDisplayController:(UISearchDisplayController *)controller willShowSearchResultsTableView:(UITableView *)tableView
{
tableView.backgroundColor = [UIColor whiteColor];
}
Upvotes: 2