开发者

Can someone please explain CMTime for iOS4?

开发者 https://www.devze.com 2023-01-21 18:08 出处:网络
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 ho

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

精彩评论

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