3

I've recently integrated the PHPickerViewController per Apple's recommendation for accessing photos within your app. However, testing for memory leaks, I've noticed the picker is producing many memory leaks. I'm running the PHPickerDemo and see the following leaks while profiling:

Image from Instruments Memory Leaks

Any thoughts on how to solve this or is this something we have to wait for Apple to fix?

  • I get these leaks whenever I use the picker to import a picture after a picture has already been imported. I suspect the picker is hanging onto the previous objects it imports, creating the leak. – trndjc Jan 27 '23 at 02:49

0 Answers0