0

Is there a way to find out if the camera is currently focusing with UIImagePicker? Similar to the way the adjustingFocus observer works with AVFoundation.

I'm currently using AVFoundation, but I would like to be able to have the image quality that is achieved with UIImagePicker.

Thanks!

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
SeilerH
  • 87
  • 2
  • 9

1 Answers1

0

You need to define your exact requirement here - what is that you want adjusting focus observer for? As the name suggests, it is a way to signal you that AVCaptureDevice (reference to "real" device - one of these devices) is adjusting its focus. UIImagePicker is nothing but a file open dialog, not a real device. It works on top of either camera or static list of image files. While in camera mode, you can observe adjustingFocus.

In case that is your requirement, here is nearest you can refer to. Refer to UIImagePickerController documentation to define how you can implement this for your own needs.

Community
  • 1
  • 1
Nirav Bhatt
  • 6,940
  • 5
  • 45
  • 89