I do not want animation in the begin updates, end updates block for uitableview?

前端 未结 6 1141
执念已碎
执念已碎 2020-12-22 22:43

I have a UITableView that is using a custom table cell and each cell has a UIWebView.

Because UIWebView took along time to load, i want to avoid reloading them at al

6条回答
  •  礼貌的吻别
    2020-12-22 22:57

    [UIView setAnimationsEnabled:NO];
    [tableView beginUpdates];
    [tableView endUpdates];
    [UIView setAnimationsEnabled:YES];
    

提交回复
热议问题