In the ViewController ViewDidload, Hide Webview and after loading it, Show it in the webViewDidFinishLoad method.
First you need to hide WebView in View DidLoad.
- (void)viewDidLoad { [super viewDidLoad]; thewebview.Hidden=YES; }
Then show the web view after the download is complete
-(void)webViewDidFinishLoad:(UIWebView *)webView { NSLog(@"finish"); thewebview.Hidden=NO; }
Siba prasad hota
source share