What events and/or methods does the iOS video player expose?

I'm not an iOS developer, but I'm just trying to figure out whether it's possible to query the iOS native video player in a Cocoa Touch app at runtime, and say find out how much of the video has been played.

I also wondered whether the player exposes events, such as scrubbing, play start, play end, play pause etc.

Again, this is all for an Objective-c app, not a web app.

Not being an iOS developer, I had trouble trying to find this in Apple's documentation.

If anyone could point me to the appropriate article that would be great.

Answers


All you are trying to achieve should be possible with MPMoviePlayerController. If something is missing, there is a lower level API called AVFoundation.


Need Your Help

Reading cell styles along with data-Excel sheet reading using apache POI

excel grails import apache-poi

folks, I am able to read the excel sheet using apache POI in grails

assigning shared ptrs (boost) in constructor , unit testing

c++ unit-testing boost constructor shared-ptr

I have a C++ class(inside a dll project) whose member variables are boost::shared_ptrs to objects of other classes. Is it better to assign them inside the class constructor or have a separate init()

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.