How to implement the spotlight search inside application for iphone /ipad development
Can any one get me idea in implementing the spotlig开发者_如何学Cht search inside application for iphone /ipad development?
You should store all the search items in an array. When the user start searching(use UISearchBar), code in the following delegate
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText
{
//Find all the value matches your searchText
//Display them in a tableView.
}
精彩评论