UIImagePickerController: ignoring request to take picture; camera is not yet ready
I am using camera in my application.

I want to take picture after 3 seconds automatically.
The code is working absolutely fine accept for one case..


If application goes into background while camera tick is going on by any ways like if call comes in-between  or user presses home key...then when the application is resumed it does not continue the camera tick and in console it gives this warning

**UIImagePickerController: ignoring request to take picture; camera is not yet ready.**

I want to restart the camera when such thing happens
what should i do?
UIImagePickerController: ignoring request to take picture; camera is not yet ready
===

I am using camera in my application.

I want to take picture after 3 seconds automatically.
The code is working absolutely fine accept for one case..


If application goes into background while camera tick is going on by any ways like if call comes in-between  or user presses home key...then when the application is resumed it does not continue the camera tick and in console it gives this warning

**UIImagePickerController: ignoring request to take picture; camera is not yet ready.**

I want to restart the camera when such thing happens
what should i do?