search display controller + uitableview
Hi,
I have a uitableview with a search display controller. My uitableview allows user select multiple rows with a tick on the right side.
problem is when i do a search on the search bar, it filters the table. but those that are selected will not be shown as selected during the search.
AND if i selected those items during the search, the main list will not show as selected.
Can i do it one its selected, it shows as selected during the search and vice versa.
I have 2 arrays, 1 is the main array with all the items, and another is the filtered array. i followed the example on the apple developer site.
Thank you.
|