I’ve been searching for this day, but I can’t find it….
Could anyone point me to a tutorial/tell me what I should do?
The documentation wasn’t really helpful…
I need this for my UITableViewController class (without a xib!)
Thanks A lot!
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.
First do Gray UISearchBar w/matching scope bar programmatically
Then since the tableview and the searchtableview both use the same datasource, you have to insert an if statement in the tableview delegate methods like this:
Do the same for the number of rows delegate method:
Then after the search text changes or search button is pressed (look at UISearchBar delegate methods), reload data to display.