We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f33419 commit 0dac24eCopy full SHA for 0dac24e
Coding_iOS/Views/Cell/TweetDetailCell.m
@@ -338,7 +338,7 @@ - (void)webViewDidStartLoad:(UIWebView *)webView{
338
- (void)webViewDidFinishLoad:(UIWebView *)webView{
339
[self refreshwebContentView];
340
[_activityIndicator stopAnimating];
341
- CGFloat scrollHeight = webView.scrollView.contentSize.height;
+ CGFloat scrollHeight = MAX(webView.scrollView.contentSize.height, _tweet.contentHeight);
342
if (ABS(scrollHeight - _tweet.contentHeight) > 5) {
343
webView.scalesPageToFit = YES;
344
_tweet.contentHeight = scrollHeight;
0 commit comments