答案 0 :(得分:0)
在AVCamViewController.m文件中,查找viewDidLoad方法。您可以调整捕获视频预览区域并添加另一个自己的视图。
这样的事情:
- (void)viewDidLoad
{
// ...
[newCaptureVideoPreviewLayer setFrame:CGRectMake(0, 0, 200, 200)]; //adjust camera preview area to accommodate your new view.
UIImageView *myView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 210, 200, 50)]; //either a UIImageView or UIView
[self.view addSubview:myView]; //add your view to the main view
//....
}