mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
iOS: white flash fix
This commit is contained in:
parent
2ae8cb98a1
commit
6da7d4ce6b
1 changed files with 4 additions and 1 deletions
|
@ -1607,13 +1607,16 @@ shouldStartLoadWithRequest:(NSURLRequest *)request
|
|||
}
|
||||
|
||||
- (void)webViewDidFinishLoad:(UIWebView *)webView {
|
||||
self.webView.hidden = NO;
|
||||
// self.webView.hidden = NO;
|
||||
[self.activityIndicator stopAnimating];
|
||||
|
||||
if (self.loadingHTML) {
|
||||
[self.webView loadHTMLString:self.loadingHTML baseURL:self.loadingURL];
|
||||
self.loadingHTML = nil;
|
||||
self.loadingURL = nil;
|
||||
} else {
|
||||
self.webView.hidden = NO;
|
||||
[self.webView setNeedsDisplay];
|
||||
}
|
||||
|
||||
[MBProgressHUD hideHUDForView:self.view animated:YES];
|
||||
|
|
Loading…
Add table
Reference in a new issue