I've built a web browser for iOS and I'm trying to pull the URL to display in an address bar.
I look at the NSURLRequest
in the webView:shouldStartLoadWithRequest:navigationType:
and the webViewDidFinishLoad:
UIWebView
delegate methods.
Should I use the URL
or the mainDocumentURL
property of the NSURLRequest
for that purpose, and what is the difference?