答案 0 :(得分:1)
这被称为RearCam& FrontCam
您可以像
一样使用它 if (_imagePicker.cameraDevice == UIImagePickerControllerCameraDeviceFront)
_imagePicker.cameraDevice = UIImagePickerControllerCameraDeviceRear;
else
_imagePicker.cameraDevice = UIImagePickerControllerCameraDeviceFront;
其中_imagePicker - > imagepickercontroller的一个实例