Example: Getting A Header Search Bar That Sticks Atop A Scrolling UITableView (Like Contacts)

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:

Table view Search Bar 1Table View Search Bar 2

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.

DeliciousTwitterFacebookRedditLinkedInEmail

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.

Leave a Reply

Your email address will not be published. Required fields are marked *