Permalink
Browse files

Added shouldStartLoad default return value and return from delegate

  • Loading branch information...
1 parent a0bb064 commit 177173e3880502144624ac537a983e2fcf9fb464 jinthagerman committed Jan 31, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 SVWebViewController/SVWebViewController.m
@@ -303,8 +303,9 @@ - (void)webViewDidStartLoad:(UIWebView *)webView {
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
if (_delegateHas.shouldStartLoad) {
- [self.delegate webView:webView shouldStartLoadWithRequest:request navigationType:navigationType];
+ return [self.delegate webView:webView shouldStartLoadWithRequest:request navigationType:navigationType];
}
+ return YES;
}
- (void)webViewDidFinishLoad:(UIWebView *)webView {

0 comments on commit 177173e

Please sign in to comment.