Reputation: 50826
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?
Upvotes: 11
Views: 3704
Reputation: 11050
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.
Upvotes: 5
Reputation: 5541
There is a discussion "UISearchBar like Contacts" on this at the apple site.
Upvotes: 4
Reputation: 325
Did you put it in through Interface Builder or programatically? Because by default the keyboard animation should play.
Upvotes: 1