我不知道我应该包含哪个头文件。MPMoviePlayerLoadStateDidChangeNotification需要什么头文件?
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loadStateDidChange:) name:MPMoviePlayerLoadStateDidChangeNotification object:nil];
错误:未声明的标识符MPMoviePlayerLoadStateDidChangeNotification
对不起,我找到解决
#import <MediaPlayer/MediaPlayer.h>