I use the camera in my application.
I want to take a picture in 3 seconds automatically. The code works absolutely fine for one case.
If the application goes into the background while the cameraβs tick continues in any way, for example, if the call comes in between or the user presses the home key ... then when the application resumes, it does not continue to tick the camera, and in the console it gives it warning
UIImagePickerController: ignoring a request for a survey; The camera is not ready yet.
I want to reboot the camera when this happens, what should I do?
source
share