I found an easy way to display the camera feed, but it shows above my XIB. How can I put the feed in a View to display under the buttons and background?
Here's my code.
//ViewController.m
FaceCamViewer *viewer3 = [[FaceCamViewer alloc] initWithFrame:CGRectMake(0, 0, 320, 568)];
viewer3.cameraType = AVCaptureDevicePositionFront;
AVCaptureSession *session = [[AVCaptureSession alloc] init];
viewer3.session = session;
viewer3.draggable = NO;
[viewer3 startFaceCam];
[self.view addSubview:viewer3];
How do I create a property to access this through the XIB?