Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

namanhams

macrumors regular
Original poster
Jun 3, 2009
153
0
I have a UIWebView, and it loads a local file, like this :

Code:
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:localFilePath]]];

When the local file is a MP4 file, there's a memory leak.
When the local file is just a HTML file, there's no memory leak at all.

So i guess, the memory leak is not caused by my code, because there's no memory leak if the file is not video file.

Please help.
Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.