Just wondering about the code that was used for the Raywenderlich Tutorial on how to add a UISearchController
and how to use it with a UITableViewController
I can't seem to get it working and someone told me that it may have got deprecated in iOS 8.0, does anyone know on how to still do this?
The UISearchController
was Built In The UIViewController
NOT StoryBoard!
UISearchDisplayController
has been deprecated and replaced byUISearchController
.And it is available in iOS 8.0 and later.https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UISearchController/index.html
Here is an example ,how i do it with
UITableView
resding inUIViewController
..Just make few changes if you want to use withUITableViewController
...