Best way to figure out why didReceiveMemoryWarning is always getting called on a UIViewController

Posted by wgpubs on Stack Overflow See other posts from Stack Overflow or by wgpubs
Published on 2010-06-09T05:33:41Z Indexed on 2010/06/09 5:42 UTC
Read the original article Hit count: 337

I have a UIViewController and I'm noticing that I've done something to where the didReceiveMemoryWarning method is getting called every time I run it on an actual device.

I've run the project with Run > Run With Performance Tool > Object Allocations (and Leaks also). There are no leaks but I have no idea how to read or understand the "Object Allocations" data that is displayed.

So ...

How do I read this information and what is/are the best ways to figure out (and resolve) why this is happening?

Thanks

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c