Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Simple UISearchBar with State Restoration
Last Revision: | Version 4.1, 2013-05-23 Updated project to use Automatic Reference Counting and Storyboards; added support for state restoration. (Full Revision History) |
Build Requirements: | Xcode 4.6 or later, iOS SDK 6.0 or later. |
Runtime Requirements: | iOS 6.0 or later. |
"TableSearch" demonstrates how to use a UISearchDisplayController object. When you present a large amount of data in a table view, you can use a search display controller to let the user search the contents of the table view to quickly find items of interest. The sample shows how you can display data in a table view and use a search display controller to display a search bar and another table view that shows the results of a search. The sample also illustrates use of state restoration.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-05-23