Hi in my application i have UIWebView
which loads the pdf
file using URL its very large file its taking too much time to load. Now i want show the user that like its loading progress until it get load the my pdf once my file loaded its has hide the progress bar, how can I achieve this?
My webview code.
- (void)viewDidLoad
{
[super viewDidLoad];
NSString *pdf =@"http://jesusredeems.com/mag/pdf/JRE-2014-03.pdf";
NSURL *url = [NSURL URLWithString:pdf];
NSURLRequest *myRequest = [NSURLRequest requestWithURL:url];
[webview loadRequest:myRequest];
}
I'm using the above code to load my pdf
, how I can use the progress bar for file loading?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…