IOS,AVCam,如何预览拍摄的图像?

时间:2012-08-15 21:48:45

标签: ios uiimageview preview avcapture

使用AVCam示例,我看不到如何访问AVCamViewController.m文件中的图像。我想要预览捕获的图像,但我看不到如何在方法中访问此图像:- (IBAction)captureStillImage:(id)sender后面的行:[[self captureManager] captureStillImage];

我想以编程方式添加预览:

    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320/5, 480/5)];
    [imageView setImage:[captureManager image]];
    [self.view addSubview:imageView];
    [imageView release];

我试图在此寻求帮助,但未能。这里有人有一些提示吗?

0 个答案:

没有答案