Open GitHubNormalUser opened 8 years ago
"BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.mainDocumentURL]" should be "BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.URL];" in "- (void)webViewDidFinishLoad:(UIWebView )webView" and "- (void)webView:(UIWebView )webView didFailLoadWithError:(NSError *)error".
"BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.mainDocumentURL]" should be "BOOL isNotRedirect = _currentURL && [_currentURL isEqual:webView.request.URL];" in "- (void)webViewDidFinishLoad:(UIWebView )webView" and "- (void)webView:(UIWebView )webView didFailLoadWithError:(NSError *)error".