Very similar to what I suggested, seems like the most efficient and prettiest way to do it. Just do something playing with the opacity and displaying the indicator.
What I would do is have the indicator be the main focus by lowering the table views opacity then animating it back into full opacity when the indicator is done.
Quote:
Originally Posted by Jume
I'm doing it in this way using UINavigationController and view controllers. This is the structure I have
Code:
UINavigationController
|
|--UIViewController //root view controller
|
|--UIView // showing activity indicator
|--UITableView // showing table
So here how I code this
1) I'm loading and displaying UINavigationController with a root view controller
2) Asking a web service for data and loading UIView with activity indicator as a root view controller's view
3) Once the data from web service is ready I animate the opacity of the root controller's view to 0.0 and then I'm replacing it with the UITableView ...
I think apple does something similar in App Store and iTunes apps.
|