File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -692,6 +692,11 @@ - (void)webView:(WKWebView*)theWebView didFailNavigation:(WKNavigation*)navigati
692
692
NSLog (@" %@ " , [errorUrl absoluteString ]);
693
693
[theWebView loadRequest: [NSURLRequest requestWithURL: errorUrl]];
694
694
}
695
+ #ifdef DEBUG
696
+ UIAlertController *alertController = [UIAlertController alertControllerWithTitle: [[NSBundle mainBundle ] objectForInfoDictionaryKey: @" CFBundleDisplayName" ] message: message preferredStyle: UIAlertControllerStyleAlert];
697
+ [alertController addAction: [UIAlertAction actionWithTitle: NSLocalizedString(@" OK" , nil ) style: UIAlertActionStyleDefault handler: nil ]];
698
+ [vc presentViewController: alertController animated: YES completion: nil ];
699
+ #endif
695
700
}
696
701
697
702
- (void )webViewWebContentProcessDidTerminate : (WKWebView *)webView
You can’t perform that action at this time.
0 commit comments