TKBrowserDelegate
@protocol TKBrowserDelegate
TKAuthorizationEngine observes TKBrowser with this protocol
-
Return Yes if the browser shall load this request; Otherwise the browser will not load the request.
Declaration
Objective-C
- (BOOL)shouldStartLoadWithRequest:(NSURLRequest *)request;
Swift
func shouldStartLoad(with request: URLRequest!) -> Bool
-
This method will be invoked when the browser will cancel.
Declaration
Objective-C
- (void)browserWillCancel:(NSError *)error;
Swift
func browserWillCancel(_ error: Error!)