(void)searchBarSearchButtonClicked:(UISearchBar *)searchBar1; { searchBar resignFirstResponder; }.
Thanks..for the solution – shweta Aug 29 at 7:33.
You need to process the UISearchBarDelegate protocol methods. In the following methods, call -resignFirstResponder method of UISearchBar. (BOOL)searchBarShouldEndEditing:(UISearchBar *)searchBar (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar (BOOL)searchBarShouldEndEditing:(UISearchBar *)searchBar The detail of above delegate methods can be found in the apple official document.
I often resign first responder inside those delegate methods as the end of searching.
You can use UISEarchBar's delegate method - (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar { searchBar resignFirstResponder; } and for enter (not tested) - (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText; // called when text changes (including clear) { if (searchText isEqualToString:@"\n") searchBar resignFirstResponder; } Hope this helps you...
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.