I am creating my own RSS feed reader with feed view enabled (UIWebView).
Using the following code, when a view containing WebUIView is loaded, it takes about 6 seconds before something displays 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 so slow?
I checked the url is clean and expected. I am building for iOS 3.0 as a basic deployment target.
source
share