Should repeated use of the camera crash an app?

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-06-14T20:25:15Z Indexed on 2010/06/14 21:22 UTC
Read the original article Hit count: 165

I have an app that builds a slideshow from user images. They can grab from their library or take a picture. I have found that repeated use of grabbing an image from the library is fine. But repeated use of taking a picture causes erratic behavior. I have been getting crashes but mostly what happens seems to be a reloading of the view after "didFinishPickingMediaWithInfo", which messes things up.

I have no leaks and it seems to be releasing properly after each picture is taken. I am resizing the image and saving it in a data base. Is anyone else running into this situation? Was the camera not designed to be called this often?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about memory-management