You may have different solutions.
Perhaps the first and faster talking to the uiTableView data source does not have a section. Then, when your external data loads, reload the tableView with sections and rows.
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
Another solution, hide uiTableView and set the activity indicator to a different view. But you need to avoid the UITableViewController to achieve this ^^
Perhaps the first solution will be faster :-)
source share