Getting the search bar to operate desired with atop a scrolling table view can be tricky and Fabian Kreisser has created an example demonstrating how to implement the three different scrolling behaviors in this situation.
The example demonstrates how to get the scrolling behavior to mimic that found in different Apple apps including how to get the search bar to stay below the header when scrolling down like in the Contacts app.
Here are a couple of images from the example:
You can find TableVIewSearchBar on Github here.
A nice example showing how to avoid scrolling frustration that can occur with a search bar atop a UITableView.
- Example: How To Guess And Get A User’s Favorite iOS Address Book Contacts
- Open Source Library For Adding A Parallax Scrolling Effect To A Stylizable UITableView
- Tutorial: Building A Side Scrolling Space Shooter With Cocos2D
- Open Source: iPhone Component For Easy Scrolling Between Multiple Views Like Mobile Safari
- Update To Action Game Tutorial Source
Original article: Example: Getting A Header Search Bar That Sticks Atop A Scrolling UITableView (Like Contacts)
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.







