I need to find the MPMovieplayerController is playing or not with condition.
Check the Condition button click event....!
Any one help with me us....!
Thanks....!
MPMovieplayerController is having playbackState property. On button click event you can do like
-(IBAction)btnClicked:(id)sender
{
if(yourMoviePlayerObject.playbackState == MPMoviePlaybackStatePlaying)
NSLog(@"Yes Playing");
else
NSLog(@"Not Playing");
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With