Home Answers Viewqa XML searchbar

 
 


Ravi Vora
searchbar
0 Answer(s)      a year ago
Posted in : XML

- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar
{
    Searchbar.autocorrectionType = UITextAutocorrectionTypeNo;
}


- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar                     // called when keyboard search button pressed
{

    NSLog( @" Searchbar text  =   %@",searchBar.text);
    if (appDel.flag==2||appDel.flag==3||appDel.flag==4||appDel.flag==5||appDel.flag==6) 
    {
        NSLog(@"23456");
        strSearch=appDel.str_searched;
    }
    strSearch=searchBar.text;
    appDel.str_searched=strSearch;
    strSearch=[strSearch stringByReplacingOccurrencesOfString:@" " withString:@"+"];

    [searchBar resignFirstResponder];

    [self searchGooglePhotos:nil];
    [tbl_place reloadData];

}

- (void)searchBarCancelButtonClicked:(UISearchBar *) searchBar                    // called when cancel button pressed

{
    [searchBar resignFirstResponder];
}
View Answers









Related Pages:
searchbar
*)searchBar { Searchbar.autocorrectionType = UITextAutocorrectionTypeNo; } - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar // called when keyboard search button pressed { NSLog( @" Searchbar text
searchbar
*)searchBar { Searchbar.autocorrectionType = UITextAutocorrectionTypeNo; } - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar // called when keyboard search button pressed { NSLog( @" Searchbar text
Search bar application
;     IBOutlet UISearchBar *searchBar;     BOOL...; self.tableView.tableHeaderView = searchBar;    ...:)] autorelease]; } - (void)searchBar:(UISearchBar *)theSearchBar textDidChange

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.