I have a UIWebView, and it loads a local file, like this :
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.
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.