Reputation: 435
i've a tabBarController, in one tab i've a navigation controller that manage a table view. TableView works, but if in my
viewWillAppear
of the tableVieW class i add
[self.table reloaddata];
nothing appear.
where i'm wrong? it's correct to reload tableview in tableView class or i must call the reload from another place?
Upvotes: 0
Views: 2544
Reputation: 3200
Make sure UITableViewDataSource
delegate is set for self.table
. If no data source is set, or if its count
is not more than 0, nothing will appear in your table
Upvotes: 1