How can I stop the cancel button appearing from a UISearchBar, in the simplest way possible, from within a tableViewController, in iOS9?
There are quite a few alternative answers out there, but no simple objective C ones work in iOS9.
-(void) didPresentSearchController:(UISearchController *) searchController {
self.searchController.searchBar.showsCancelButton = NO;
}