Memory Leaks when touching UITableViewCells and poping off view.
- by Falcon
Hi All,
I'm currently having a problem where the leaks tool is reporting a slew of memory leaks after clicking on cells within a UITableView and then hitting the back button and popping off the view.
Majority of the leaks reported can not be traced back to any specific location in my code, they are:
Leaked Object # Address Size Responsible Library Responsible Frame
NSCFArray 2 < multiple > 64 UIKit -[UITouch(UITouchInternal)
UITouch 2 < multiple > 128 GraphicsServices PurpleEventCallback
Malloc 48 Bytes 2 < multiple > 96 Foundation -[NSCFArray insertObject:atIndex:]
UIDelayedAction 2 < multiple > 96 UIKit -[UILongPressGestureRecognizer startTimer]
NSCFArray 2 < multiple > 64 UIKit -[UILongPressGestureRecognizer touchesBegan:withEvent:]
Malloc 32 Bytes 2 < multiple > 64 Foundation -[NSCFArray insertObject:atIndex:]
Malloc 16 Bytes 2 < multiple > 32 Foundation -[NSCFSet unionSet:]
Now I have commented out all my code in any touch event functions that I have written and it still leaks if I click on the cell a few times and then hit the back button to return to the previous view.
Any ideas on what might actually be the problem here?
Thanks,