It's common to see a UISearchBar in an application, that upon a click, will enlarge and animate into view with a keyboard. I'm curious, is this something the iPhone SDK provides for free, or is the Animation code more than likely written by the developer? I use a UISearchBar in several controllers, however by default a keyboard just pops into view, the search bar does not animate in any fashion. This is also very prominent in apps that have a search icon. How is it typically done?
This can be easily implemented using the UISearchDisplayController using the iPhone SDK 3.0 and above.
See the TableSearch example project, included in the SDK.
There is a discussion "UISearchBar like Contacts" on this at the apple site.
Did you put it in through Interface Builder or programatically? Because by default the keyboard animation should play.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With