First off, I know this is wrong, but since this app is for personal use, I don't think it's gonna hurt anyone if I use a few undocumented calls.
Here's what I'm trying to do:
I have an overlay view on top of a MPMoviePlayerController .. nothing hard about that.
Now, when I click one of the buttons, I want to get the current time of the video that's being played. For this, there's a "currentTime" method in the mpmovieplayercontroller class.
However, when compiling, I get the ole warning "MPMoviePlayerController" may not respond to '-currentTime'. This method is assumed to return 'id' and accept '...' as arguments.
So my problem is that I need to get a 'double' value from the currentTime rather than an object. I've tried casting, but this doesnt work either.
Just to clarify, the mpmovieplayercontroller has a method with signature:
But the compiler assumes it looks like this:
Post edited by smithdale87 on
0 · ·