I'm getting problem while searching though tableview in Popover.
After Search records are shown in table view, When I scroll it will show me the another table view without search bar and only that scroll the back one is fixed.
when I remove search text it works fine.
For iPhone it works fine. Problem occurs only when I show table view in Popover view.
(I wanted to add screen shot but I do not have that much of reputation :()
Please brows this link for screen shot
if(![popoverController isPopoverVisible]){
newTimeEntry *timeEntryController = [[newTimeEntry alloc] initWithNibName:@"newTimeEntry" bundle:nil];
timeEntryController.timeEntryDelegate=self;
UINavigationController* addNavController;
addNavController = [[UINavigationController alloc] initWithRootViewController:timeEntryController];
popoverController = [[UIPopoverController alloc] initWithContentViewController:addNavController];
timeEntryController.popoverObj=popoverController;
[popoverController setPopoverContentSize:CGSizeMake(320.0f,520.0f)];
[popoverController presentPopoverFromBarButtonItem:sender permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
}else{
[popoverController dismissPopoverAnimated:YES];
}
Below solved my problem :)
willShowSearchResultsTableView:(UITableView *)tableView
{
tableView.backgroundColor = [UIColor whiteColor];
}