I have a UISearchBar
in my app.and I want the four
Scope bars in this UISearchBar
that I have given from the XIB
file .say one , two , three and four
and now Problem is I have four array
s which contains separates values for each array ..say array one
, array two
, array three
and array four
.
Now I want when I search on pressing scope bar one
only array one
values should search ..
on pressing scope bar two
only array two
values should search and so on ..
Is there any method for scope bar button available to search ?
like If( scope_bar==1){...}else
like If i search for scope barone
then it will display only array one
. is there any method available ..I searched on the apple documentation but could not get