Hello!
I added the UIActivityIndicatorView as a subtitle of the UITableView . The goal is to remove this view after the base table is updated with new data.
The problem is that sections in the table view (for example, A, B, C, etc.) appear after adding an activity indicator, partially blocking the activity indicator for a moment.
Is there a “better way” (or a more correct way) to do such things when it comes to activity indicators over partitioned table views? Right now I'm doing this to fade the activity indicator view loading:
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
[loading setAlpha:0.0f];
[UIView commitAnimations];
FWIW, causing the equivalent [myTableView bringSubviewToFront:myActivityIndicatorView], also does not help.
, loading . , setAnimationDidStopSelector: (, , CGContextRef).