Search code examples
iphonecocoa-touchipaduikitsearchbar

scope bar search iPad


I have to specialize a search in my iPad app, and I think to use the scope bar with the search bar. But how can I get the index of a selected scope button and base my search on it?

thanks


Solution

  • searchBar:selectedScopeButtonIndexDidChange: