I have ios application. Some view controllers contain webviews. Everything works nice ,except one prolem:
When application is launched and i do not use it for some minutes and than continue my work, it works properly, but when i want to load viewcontroller with webview, it crashes with SIGKILL error. There are no problems with other viewcontrollers after some break. Here is the code which i use for webviews:
_webView = [[UIWebView alloc] initWithFrame:self.view.bounds)];
[self.view addSubview:_webView];
_webView.userInteractionEnabled = NO;
[_webView release];
// here is the local page, the same happens if i load internet page..
NSString *path = [[NSBundle mainBundle] pathForResource:@"localpage" ofType:@"html"];
_url = [NSURL fileURLWithPath:path];
[_webView loadRequest:[NSURLRequest requestWithURL:_url]];
So the question is why application crashes only trying to load viewcontrollers with webviews after some break ?
Thanks.