I have implement UISearchController in my HomeController.By this way
SearchTableViewController *searchResults = (SearchTableViewController *)self.controller.searchResultsController;
[self addObserver:searchResults forKeyPath:@"myResult" options:NSKeyValueObservingOptionNew context:nil];
searchResults.rootHomeController=_homeController;
[self presentViewController:self.controller animated:YES completion:nil];
My Search value showing well in SearchTableViewController.Now I need to go details after SearchTableViewController UITableView cell click i tried by this way but not working.
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:
@"Main" bundle:[NSBundle mainBundle]];
AlbumSongListController *detailSongList=[storyboard instantiateViewControllerWithIdentifier:@"AlbumSongListControllerID"];
[self presentViewController:detailSongList animated:YES completion:nil];
I need to pass navigation controller so that i can back to search controller