I would like to use AVPlayer C开发者_如何学Class' seekToTime. It takes a CMTime. I read the CMTime reference from Apple but its is very hard to understand. Can someone please give me an example on how to use...
- (void)seekToTime:(CMTime)time
Some example are provided in the AV Foundation Programming Guide such as:
CMTime fiveSecondsIn = CMTimeMake(5, 1);
[player seekToTime:fiveSecondsIn];
精彩评论