Selecting Camera


//********** GET CAMERA IN SPECIFIED POSITION IF IT EXISTS **********
- (AVCaptureDevice *) CameraWithPosition:(AVCaptureDevicePosition) Position
{
	NSArray *Devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo];
	for (AVCaptureDevice *Device in Devices)
	{
		if ([Device position] == Position)
		{
			return Device;
		}
	}
	return nil;
}
//Then to use a specific camera:
	[self CameraWithPosition:AVCaptureDevicePositionFront]

	[self CameraWithPosition:AVCaptureDevicePositionBack]

Does Device Have Multiple Cameras?


	if ([[AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo] count] > 1)

Which Camera Is Selected


		AVCaptureDevicePosition position = [[VideoInputDevice device] position];
		if (position == AVCaptureDevicePositionBack)
		{

		}
		else if (position == AVCaptureDevicePositionFront)
		{

		}