I am parsing data, which I'd like to display in a UIWebView within the contentView of a cell. The problem: The height of the cell is loaded before I get the real height of the UIWebView. So I need to refresh the height of the cell, after the webView has finished loading:
[self.tableView reloadData];
does not reload the cell height (but it would refresh without animation, exactly what I need) and
[self.tableView beginUpdates];
[self.tableView endUpdates];
or
[self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:0 inSection:0]] withRowAnimation:UITableViewRowAnimationNone];
are with an animation, even if I use UITableViewRowAnimationNone
.
What can I do to refresh height after viewDidLoad without animation?