I have a UITableView that I am placing inside a TabView. I am trying to put a “spinner” and a label in the center of the TableView. When I view I try to view it inside the TabBar, I do not see the spinner or label. When I view this nib by itself, I see the spinner and TabBar.
There seems to be something about views / tabbars that I am not getting…
Instead of adding the UILabel and UIActivity indicator on the tableview in the nib, I suggest you add them to the view containing the tableview by adding them in viewDidLoad or an appropriate method of your view controller.
e.g.
Similarly you can add the label and position it in the view.
You can then add
and
wherever you want the spinner to start or stop animating. I am not sure what you want to do with the label. If its to display a loading message, you can make the label hidden or visible as appropriate.