views:

800

answers:

1

Hello, is it possible to start an event when an UIWebView (Iphone) has finished loading the URL.

How can i find out, the current URL of the UIWebView?

Best regards,

Andreas

+4  A: 

Yes, that's possible. Use the UIWebViewDelegate protocol and implement the following method in your delegate:

- (void)webViewDidFinishLoad:(UIWebView *)webView

If you want the URL, you can get the last request using the property request:

webView.request.URL
Pascal