Created
October 8, 2010 06:53
-
-
Save samchandra/616452 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using NSNotificationCenter to add self as an observer for the | |
// MPMoviePlayerPlaybackDidFinishNotification message when we finish | |
// playing a movie | |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(myMovieFinishedCallback) | |
name:MPMoviePlayerPlaybackDidFinishNotification | |
object:theMovie]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment