uitableview reloadData issue
- by CocoaNewBee
I've been debugging my iphone app and found something interesting.
I have a UIViewControllers with TabBarcontroller( 6 tabs). each tab is a UIViewController and it has a UITtableview. The viewDidLoad works and brings the initial data. On of the UITableView has a search bar. After the user touchs presses search some magic happens and I get an array with data. I cant see the new data in the tableview and the [tableView reloadData] has no effect outside viewDidLoad (first time).
I can see the array holding the data and the dataSource is set to self. Yet, no displaying of data!
so I 've tried [self.tableView reloadData] & [self.tableView setNeedsDisplay]
Funny enough, the new data is not being displayed. However if I move the table up or down the cellForRowAtIndexPath is being fired and the first row shows data.
can anyone shed some light on this mystery???
if there a [self.view refreshscreen] ??