开发者

Can someone please explain CMTime for iOS4?

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜