Which is the first method called by UIWebViewDelegate
-
- (void)webViewDidStartLoad:(UIWebView *)webView;
-
- (void)webViewDidFinishLoad:(UIWebView *)webView;
-
- (void)webView:(UIWebView *)webViewdidFailLoadWithError:(NSError *)error;
-
None
A
Correct answer
Explanation
The UIWebViewDelegate protocol's webViewDidStartLoad: is the first method called when a web view begins loading content. This is followed by either webViewDidFinishLoad: or webView:didFailLoadWithError: depending on the outcome. Option D (None) is incorrect since the delegate protocol defines specific lifecycle methods.