Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa XML searchbar

Have Programming Question? Ask it here!
 
 
 


Ravi Vora
searchbar
0 Answer(s)      2 years and 3 months 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];
}

Advertisement
View Answers

Related Tutorials/Questions & Answers:
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
Advertisements
Search bar application
;     IBOutlet UISearchBar *searchBar;     BOOL...; self.tableView.tableHeaderView = searchBar;    ...:)] autorelease]; } - (void)searchBar:(UISearchBar *)theSearchBar textDidChange
Advertisements
 

 

 

DMCA.com