I have a class that extends UIViewController and implements the UIWebViewDelegate, like this:
@interface TableViewController : UIViewController
Along with setting the webView delegate to nil, you should ask your webView to stop loading. Add the following lines of code and then try:
- (void)dealloc {
self.articleWebView.delegate = nil;
[articleWebView stopLoading];
[articleWebView release];
[super dealloc];
}
If articeWebview
is an IBOutlet
why is it that you want to allocate
it??