WebUIView is very slow
Posted
by
Shamil
on Stack Overflow
See other posts from Stack Overflow
or by Shamil
Published on 2010-12-29T04:46:52Z
Indexed on
2010/12/29
4:54 UTC
Read the original article
Hit count: 192
ios
Hello, I'm building a custom RSS reader app with incorporated feed link view (UIWebView).
Using the following code, when the view, containing WebUIView is loaded, it takes about 6 seconds before anything is outputted to the user:
-(void)viewDidLoad{
[super viewDidLoad];
NSString *urlString = [[[self appDelegate] currentlySelectedBlogItem]linkUrl];
NSURL *url = [NSURL URLWithString:urlString];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[_webview loadRequest:requestObj];
[_webview setScalesPageToFit:YES];
}
Any ideas why UIWebView is being so slow?
I've checked the URL input, it's clean and what I'd expect it to be. I'm building for iOS 3.0 as base deployment target.
© Stack Overflow or respective owner