Add activity indicator for image fetches.

This commit is contained in:
Maurice Parker committed 2019-10-19 16:25:06 -05:00
1 parent 4115c2231b
commit 3a314d2db7
3 files changed
+58 -5

No files matched your search

+4 -1
View File
@@ -117,7 +117,10 @@ class ArticleViewController: UIViewController {
// Even though page.html should be loaded into this webview, we have to do it again
// to work around this bug: http://www.openradar.me/22855188
webView.loadHTMLString(ArticleRenderer.page.html, baseURL: ArticleRenderer.page.baseURL)
let url = Bundle.main.url(forResource: "page", withExtension: "html")!
webView.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
// let request = URLRequest(url: url)
// webView.load(request)
}