Hi,
I'm writing an app with UIImagePickerController.
It's been working very well, but from today, and only on iPad, UIImagePickerController shows dramatic memory leak and causes my app crashes.
The image picker is set to present only images with Photo Library style. I have about 10,000 photos in my photo library, but I don't think the amount of my photos or my code are the culprits. Because not only do I believe there are a lot of people who have more photos in their library, but also does my code work correctly, without memory leak, on iPhone.
I tested this on more than one iPad, and the same happened.
The memory leak occures as soon as I present UIImagePickerController and it takes up about 400~700 MB of memory in less than a second.
My app recieves several memory warning and terminates. Xcode shows that the app is terminated due to memory error.
It is really strange that the exact code worked yesterday.
I'm running iOS 8.4, I tested this on iPad Air, Air 2, iPhone 5s.
I tested this on a new blank project and the result was the same.
Any help would be really appreciated. Thanks in advance.