views:

436

answers:

2

Hi

I am using a shared instance of UIImagePickerController in my application. I am using the Camera Roll as the image source.

Sometimes when the image picker opens, instead of seeing the photos gallery, I am able to see only a blank white screen. This issue is not reproducible every time and happens only some of the times.

Has someone else faced this issue? Is it the memory usage? I checked the app with Instruments while testing on the device but memory doesn't seem to be the issue.

Thanks for any help.

A: 

I'm seeing the same thing. Did you ever figure it out?

Was a memory issue. I am using a shared instance of UIImagePickerController. And when the app gets a memory warning I free the picker. Then again initialize it when needed next. Happens after every 6-7 pics are clicked.
lostInTransit
A: 

The issue was caused by a memory issue. I created a shared instance of UIImagePickerController and used it throughout the app.

lostInTransit