You can add a view to the tableview supervisor, for example:
loadingView.center = self.tableView.center;
[self.tableView.superview addSubview:loadingView]
and remove it (removeFromSuperview) when done with it. It will be displayed on top of the table, in the center of the table, but will not scroll along with the table.
source
share