阅读背景:

如何在点击UISearchBar的cancel按钮后用UISearchBar刷新我的UITableView ?

来源:互联网 

I'm using a UITableView with an UISearchBar on top of table view, for me every thing is working fine except only one problem like if i search for a letter the search results in uitableview is getting filtered and its fine after that , if i scroll the search result till end of my tableview then if i press cancel button of my uisearchbar the tableview is refreshing all data but it is displaying not from the first cell, it is displaying from (approx 25th cell) like how much i scroll in my search result that much length after it is displaying after click of cancel.I don't know what is the problem i'm calling reload data also , i need to display tableview as it loads in beginning.I'm using a UITableView with an UISearchBar on




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: