UIImagePickerController Crash after 5 to 7 pictures - again
Posted
by Sophtware
on Stack Overflow
See other posts from Stack Overflow
or by Sophtware
Published on 2009-04-17T17:49:55Z
Indexed on
2010/03/22
0:01 UTC
Read the original article
Hit count: 180
iphone-sdk
|cocoa-touch
OK, I know this one has been beaten to death on this forum, but I'm still having the memory problem and I have tried all the techniques on the web to get around this.
I have an application that uses the UIImagePickerController to capture an image from the camera. I've tried both creating and destroying the controller for each picture, and keeping it around for the life of the app. Both are failing. The first way crashes the phone almost immediately. While the second, leaving the controller around, crashes the app after about 5 to 7 pictures.
My original app used an undocumented API to get around this issue, but Apple rejected it because of this. I really need to get my app to the store. Does anyone have code showing how they got around the issue?
I know there is a way because there are apps on the store using the camera, but I just can't seem to get it. Any help is greatly appreciated!
I can post my code here too, if needed.
© Stack Overflow or respective owner