1
I’m using webView on iOS to access a web page within a native application using the objective-c language as in the following example:
NSURL *url = [NSURL URLWithString:@"http://www.exemplo.com"];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
[_webView loadRequest:request];
However, I would like the page after fully loaded to close automatically without the user having to interfere. I’ve already searched the NSURL documentation, but I couldn’t find anything to help me with that.
Dexia I see if I understood, the moment the method webViewDidFinishLoad is it called, you mean the page loading is over? For example, if I have an image on the page I am accessing, this method will be called when all the image is loaded on the page?
– Jonathan
@Jonathangonczoroski, this method will be called when the full page is loaded, if by chance that page is only an image, when you finish loading the image it will be called.
– Lucas Eduardo