tags:

views:

10

answers:

1

hi all

i want that when user input in search box then

this text is store in global variable and a method is called which in another class ,how should i do this..... any idea please

Thanks.....

+1  A: 

Hi there

You have to implement the UISearchBarDelegate Protocol

if you want to react on a finished input by user (read: after the user wrote something into the searchbar's textfield and pressed "search" on the keyboard) you have to implement

- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar

greets sam

samsam
please accept my answer if it helped you. thx
samsam