I have table view to load data from an API call. I am using:
NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:request delegate:self];
and:
- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
for processing the result. I got the result, but my problem is when loading the first time table loaded with blank data. My requirement is to load an image showing “loading” when the data processing completed then load the table with the processed data. Please help me the preloading images in table view.
You can make use of
UIActivityIndicatorViewfor accomplishing this.