Try adding
[webView loadHTMLString: @"" baseURL: nil];
right before you release the webview. For a leak in 4.2.1 relating to displaying a PDF in a UIWebView this solves most of the leak problems for me.
More Related Contents:
- How to call Objective-C from Javascript?
- how to increase font size in UIWebView
- Tab bar controller inside a navigation controller, or sharing a navigation root view
- How to programmatically determine iPhone interface orientation?
- How to load local html file into UIWebView
- UIWebView to view self signed websites (No private api, not NSURLConnection) – is it possible?
- NSTimer doesn’t stop
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- Transforming a rectangle image into a quadrilateral using a CATransform3D
- Open Source Cocoa/Cocoa-Touch POP3/SMTP library?
- Arguments in @selector
- How to disable touch input to all views except the top-most view?
- What is the use of -[NSUserDefaults registerDefaults:]?
- Figure out UIBarButtonItem frame in window?
- How do I use CaptiveNetwork to get the current WiFi Hotspot Name
- Double vs float on the iPhone
- How to get the center of the thumb image of UISlider
- iOS Pinch Scale and Two Finger Rotate at same time
- Round double value to 2 decimal places
- UIDatePicker show only month and day
- How do I install this script into PhoneGap for iOS
- Am I abusing UIViewController Subclassing?
- Resize font size to fill UITextView?
- Merge PDF files on iOS
- Synchronizing an SQLite client database with a MySQL server database
- Drawing formulas with Quartz 2d
- Disable links in UIWebView?
- Adding back button to navigation bar
- Non-retaining array for delegates
- How to add NSDebug.h and use NSZombie in iPhone SDK