In my project I\'m using a UITableViewController with an internal UISearchController to filter the data in my tableView.
UITableViewController
UISearchController
tableView
I ha
If you implement UISearchResultsUpdating protocol, you can know that cancelled is triggered when active is false.
UISearchResultsUpdating
active
false
func updateSearchResultsForSearchController(searchController: UISearchController) { if !searchController.isActive { print("Cancelled") } }