开发者

Reload UITableView during search

I have a tableview with data loaded from an ar开发者_运维知识库ray (from a plist) and i have also got the search bar working with NSPredicate. Only problem is that when i search the results show the original data not the filtered data. Also when I click cancel it show the correct number of results but using the unfiltered data. How do I make the table view show the filtered data when the search bar is active and after kicking search?


Use [table reloadData] (or one of the other reload methods) to indicate to a table view that the source data has mutated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜