I have to programmatically detect two things:
I use the Developer third party library to image
I did not pick up
You can use something like - UIImagePickerController in
camera device both on logic based > Which gives
UIImagePickerControllerCameraDevice , whose possible values As is -
UIImagePickerControllerCameraDeviceFront and
UIImagePickerControllerCameraDeviceRear .
if (aPickerInstance.cameraDevice == UIImagePickerControllerCameraDeviceFront) {// front camera} other {// rear cam}
No comments:
Post a Comment