【发布时间】:2012-11-12 20:28:18
【问题描述】:
如何使用相机的 AVCaptureVideoPreviewLayer 将流延迟到 UIImageview?
请看下面我是如何绑定它们的,但我就是想不通如何延迟它(我不想要实时)
AVCaptureVideoPreviewLayer* captureVideoPreviewLayer = [[AVCaptureVideoPreviewLayer alloc] initWithSession:session];
captureVideoPreviewLayer.frame = self.imageView.bounds;
[self.imageView.layer addSublayer:captureVideoPreviewLayer];
【问题讨论】:
标签: iphone ios xcode ipad cocoa-touch