is there any easy way in the iPhone SDK to include search bars like those in the iPod app or in the Contacts app? (They behave and look unlike the usual UISearchBars …)
— Ry
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out UISearchDisplayController. It handles the repositioning of the search bar, the graying of the screen, etc, etc, etc.
UIViewController has a UISearchDisplayController property, so it’s pretty easy to hook up. There’s also the TableSearch sample code.