UISearchDisplayController - how to display search result with only by scope button selected but empt

Posted by billibala on Stack Overflow See other posts from Stack Overflow or by billibala
Published on 2010-04-26T04:54:34Z Indexed on 2010/04/26 5:03 UTC
Read the original article Hit count: 420

The UISearchDisplayController is very handy and implementing search is pretty straightforward.

However, I bump into problem when, in my app, I want to display search result with empty search string but selected scope button.

It seems like it's a must to enter some search string in order to get the search result table being initialized and displayed.

Is there any ways to display search result immediately after user has picked a scope but not entered search word yet?

Thanks Bill

© Stack Overflow or respective owner

Related posts about uisearchdisplaycontroller

Related posts about iphone