Below is the sequences how my app is loading data into my UITableView:
- UITableView loads from empty array.
- App fetches data asynchronously.
- After data is fetched and processed, app calls UITableView reloadData.
The problem I'm currently encountered is, I need to slightly slide the UITableView manually, in order to enable UITableView display the fetched data.
Currently I'm using iOS simulator to do the testing.
Is this considered normal? Is there anything I can do to display the data without a request from user to slide it?
-- EDIT --
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
NSString *tableCellIdentifier = @"TempTableViewCell";
TempTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:tableCellIdentifier forIndexPath:indexPath];
int row = [indexPath row];
YoutubeVideo *currentVideo = [videoArray objectAtIndex:row];
cell.TempLabel.text = currentVideo.VideoTitle;
[cell.TempImage setImageWithURL:[NSURL URLWithString:currentVideo.VideoThumbnailURL] placeholderImage:[UIImage imageNamed:@"Icon-Small"]];
cell.TempLabelDate.text = currentVideo.VideoDate;
return cell;
}