草庐IT

myMoviePlayer

全部标签

iphone - MPMoviePlayerController 仍然泄漏

我释放了MPMoviePlayerController但内存分配和事件对象仍然高于对象分配之前。但是,如果我重新分配对象,它不会泄漏更多。我的应用程序实际上使用了很多媒体文件并且内存消耗很高。我想完全释放不需要的内存以避免内存警告。电影播放器​​版本:player.initialPlaybackTime=-1;[player.viewremoveFromSuperview];[playerstop];[playerrelease];电影播放器​​分配:NSURL*url=[NSURLfileURLWithPath:[[NSBundlemainBundle]pathForResource