NJKWebViewProgress
NJKWebViewProgress copied to clipboard
Server not found errors not handled correctly
Try accessing "http://www.koreanpalace.com/". The server isn't found but
BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.mainDocumentURL];
isn't YES because webView.request.mainDocumentURL is nil.
BOOL isNotRedirect = _currentURL && ([_currentURL isEqual:webView.request.mainDocumentURL] || !webView.request.mainDocumentURL);
this should do the trick. Hope it doesn't have any bad side effects…