APIWebViewDelegate Protocol Reference
| Conforms to | NSObject | 
|---|---|
| Declared in | APIWebView.h | 
– webView:shouldStartLoadWithRequest:navigationType:
	询问代理对象是否该请求可以开始执行
- (BOOL)webView:(APIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationTypeParameters
| webView | 页面对象 | 
|---|---|
| request | 页面当前正需要处理的请求 | 
| navigationType | 此次请求动作的类型 | 
Return Value
返回是否开始请求
Discussion
询问代理对象是否该请求可以开始执行
Declared In
APIWebView.h
– webViewDidStartLoad:
	页面已经开始加载的事件
- (void)webViewDidStartLoad:(APIWebView *)webViewParameters
| webView | 页面对象 | 
|---|
Discussion
页面已经开始加载的事件
Declared In
APIWebView.h
– webViewDidFinishLoad:
	页面加载完成的事件
- (void)webViewDidFinishLoad:(APIWebView *)webViewParameters
| webView | 页面对象 | 
|---|
Discussion
页面加载完成的事件
Declared In
APIWebView.h
– webView:didFailLoadWithError:
	页面加载失败的事件
- (void)webView:(APIWebView *)webView didFailLoadWithError:(NSError *)errorParameters
| webView | 页面对象 | 
|---|---|
| error | 错误原因 | 
Discussion
页面加载失败的事件
Declared In
APIWebView.h