Declared in UIWebView+BlocksKit.h

Overview

Block callbacks for UIWebView.

Warning: UIWebView is only available on a platform with UIKit.

Tasks

Properties

bk_didFinishLoadBlock

@property (nonatomic, copy, setter=bk_setDidFinishLoadBlock:) void ( ^ ) ( UIWebView *webView ) bk_didFinishLoadBlock
Discussion

The block that is fired when the web view finishes loading.

Declared In

UIWebView+BlocksKit.h

bk_didFinishWithErrorBlock

@property (nonatomic, copy, setter=bk_setDidFinishWithErrorBlock:) void ( ^ ) ( UIWebView *webView , NSError *error ) bk_didFinishWithErrorBlock
Discussion

The block that is fired when the web view stops loading due to an error.

Declared In

UIWebView+BlocksKit.h

bk_didStartLoadBlock

@property (nonatomic, copy, setter=bk_setDidStartLoadBlock:) void ( ^ ) ( UIWebView *webView ) bk_didStartLoadBlock
Discussion

The block that is fired when the web view starts loading.

Declared In

UIWebView+BlocksKit.h

bk_shouldStartLoadBlock

@property (nonatomic, copy, setter=bk_setShouldStartLoadBlock:) BOOL ( ^ ) ( UIWebView *webView , NSURLRequest *request , UIWebViewNavigationType navigationType ) bk_shouldStartLoadBlock
Discussion

The block to be decide whether a URL will be loaded.

Warning: If the delegate implements webView:shouldStartLoadWithRequest:navigationType:, the return values of both the delegate method and the block will be considered.

Declared In

UIWebView+BlocksKit.h