MPMoviePlayerController movie length

安稳与你 提交于 2019-12-24 05:20:43

问题


The question is - how to get the movie length from MPMoviePlayerController object?

I need this to create a progress bar. I have the method [myPlayer currentTime] to move progress bar while movie is playing. And the [myPlayer setCurrentTime: doubleVal] to rewind the movie. But I can't use all this without information about movie length, or movie end time.

Also, maybe exists another player to use in iPhone, instead of MPMoviePlayerController?

来源:https://stackoverflow.com/questions/1188543/mpmovieplayercontroller-movie-length

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!