2
使用AVCam示例,我沒有看到如何在AVCamViewController.m文件中訪問他的圖像。我要預覽所拍攝的圖像,但我不明白我怎麼可以在方法訪問該圖像:[[self captureManager] captureStillImage];
IOS,AVCam,我如何預覽拍攝的圖像?
我想以編程方式添加一個預覽,像這樣:
UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320/5, 480/5)];
[imageView setImage:[captureManager image]];
[self.view addSubview:imageView];
[imageView release];
行後- (IBAction)captureStillImage:(id)sender
我試圖在這裏找到幫助,但一直未能。這裏有任何人有一些提示嗎?