Since I updated to 4.0, when I take a photo with my App using UIImagePickerController I get the following error output:
*** ERROR: FigCreateCGImageFromJPEG returned -1. Input (null) was 711733 bytes.
I still get the image returned and can continue as normal, but does any body know what and why I get this error. I also get the following warnings that could be related:
Using two-stage rotation animation. To use the smoother single-stage animation, this >application must remove two-stage method implementations.
Using two-stage rotation animation is not supported when rotating more than one view >controller or view controllers not the window delegate
Any information would be of great help. Thanks in advance.
I also have problems with UIImagePickerController on iOS 4.0, It works on simulator on 3.0 but on 4.0 i have a crash the delegate method - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info is called twice, and if i build on the phone and use camera it works ok.
Edit:
I have solved this problem long time ago by adding a global static int and when i enter the delegate method I test for that static int the I increment the value of it. And in the way the delegate is executed only once.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With