Xamarin.iOS - Table Search with UISearchController

This sample demonstrates how to create a table view controller and search controller to manage the display of searchable content. It creates another custom table view controller to display the search results. This table view controller also acts as the presenter or provides context for the search results so they're presented within their own context.

This sample includes the optional—but recommended—UIStateRestoring protocol. You adopt this protocol from the view controller class to save the search bar's active state, first responder status, and search bar text and restore them when the app is relaunched.

Table Search with UISearchController application screenshot

Build Requirements

Xcode 10.0 or later and iOS 10 or later.

License

Xamarin port changes are released under the MIT license.