HI, i´ve created a new MPMoviePlayerController instance and init that with a contentURL like this:
player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:url]];
player.view.frame = rect;
[myView addSubview:player.view];
[player play];
Although "play" is a instance variable of the "MPMediaplayback", i can´t get the "isPreparedToPlay" property.
EDIT: I´ve read that if i want to use the "MPMediaPlayback"-protocol, i have to add it in my @interface like this:
@interface MyViewController : UIViewController <MPMediaPlayback>
But how can i use these properties correctly?
Why? Using SDK4.0. Thanks for your time.