0

I am working on an app in which I am using camera. How can we take photo using both cameras like Frontback and DuoCam at the same time on the same screen ?

SandeepM
  • 2,601
  • 1
  • 22
  • 32
  • See this link: http://stackoverflow.com/questions/3919807/can-the-iphone4-record-from-both-front-and-rear-facing-camera-at-the-same-time – h.kishan Jul 29 '13 at 06:25
  • The Frontback app does not record video, it takes pictures. Also, it uses the two cameras one after the other (with the minimum possible delay) and not simultaneously – madoki Dec 05 '13 at 05:46

1 Answers1

1

This is called as RearCam & FrontCam

You can use it like

 if (_imagePicker.cameraDevice == UIImagePickerControllerCameraDeviceFront)
    _imagePicker.cameraDevice = UIImagePickerControllerCameraDeviceRear;
else
    _imagePicker.cameraDevice = UIImagePickerControllerCameraDeviceFront;

where _imagePicker -> an instance of the imagepickercontroller

Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
  • hi why did you remove the accept from answer. Is this not true for you? – Niru Mukund Shah Jul 29 '13 at 11:41
  • Well, your answer is correct but it will not fulfill my requirement. I want to record from both front facing camera and rear camera at the same time on the same screen using `AVSessionCapture`. Do you have any idea about this or any blog post regarding this ? Please see the Frontback app on the iTunes. – SandeepM Jul 30 '13 at 06:06