Skip to content

Instantly share code, notes, and snippets.

@waynehartman
Created January 5, 2013 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waynehartman/4464137 to your computer and use it in GitHub Desktop.
Save waynehartman/4464137 to your computer and use it in GitHub Desktop.
UIWebView Delegate
#pragma mark - UIWebViewDelegate
- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
if (error.code != NSURLErrorCancelled) {
}
}
- (void)webViewDidFinishLoad:(UIWebView *)webView {
}
- (void)webViewDidStartLoad:(UIWebView *)webView {
}
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
return YES;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment