i have created a UISearchDisplayController now while adding programatically it is not showing.
[self presentModalViewController:self.searchDisplayController animated:YES];
So i checked the Apple Guide and findout this class is not inherited from UIViewController but from NSObject!
So Is there any solution available to achieve this?
Any body has done this before?
The
UISearchDisplayControllercan’t be hidden or shown – it’s just the manager for anUISearchBar.UISearchBarinherits fromUIView, which is what you want to work with.