So I have created a subclass of UITableViewController and set the delegate and datasource to itself. But still the methods like cellForRowAtIndexPath
UITableViewController
cellForRowAtIndexPath
Try adding [self.tableView reloadData] at the end of the viewDidLoad