I have a UISearchDisplayController
above a UITableView. My code works on iPhone iOS 6/7 and iPad iOS 7.
But on iPad with iOS 6, I have this result in landscape
and in portrait
Where is the cancel button?
I use
- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar {
[self.searchController setActive:YES animated:YES];
}
to be sure that the controller is activated.
Have you an idea?
Use: