사용자가 비디오를 닫을 때 비디오가 얼마나 진행되었는지 알고 싶습니다.MPMoviePlayerController에서 재생 % 진행률을 얻는 방법
그래서 내가 가지고있는이 :
- (void) moviePlayerDidFinsh:(NSNotification*) notification
{
MPMoviePlayerController* moviePlayer = notification.object;
NSLog(@"FINISHED duration was:%f", moviePlayer.duration);
}
initialPlaybackTime
및 endPlaybackTime
모두 심
고마워, 내가 어떻게 그걸 놓쳤는지 모르겠다. – Robert