dissmiss a UISearchBar with an SearchBarController

Gang.Wang發表於2013-08-06

If you want do dissmiss a UISearchBar with an SearchBarController, just use this Code:

[self.searchDisplayController setActive:NO animated:YES];