How do you hide/show UISearchBar's scope bar with animation?

Posted by zekel on Stack Overflow See other posts from Stack Overflow or by zekel
Published on 2010-06-16T23:56:24Z Indexed on 2010/06/17 0:02 UTC
Read the original article Hit count: 578

Filed under:
|

I want to show no scope bar when the table is empty (before the search bar edits for the first time), no scope bar when it's editing, and finally show it when editing done. I know about the UISearchBarDelegate protocol, but I don't know how to show/hide the scope bar with animation. I know UISearchBar has setShowsScopeBar:, but no setShowsScopeBar:animated: the way it does for setShowsCancelButton:animated.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uisearchbar