开发者

How to find memory leaks in iphone

We are getting some memory leaks at point:

[UI开发者_高级运维View respondsToSelector:]: message sent to deallocated instance

but I cannot understand where I am missing an also I don't understand what it means that [UIView respondsToSelector:]: message sent to deallocated instance).


build your app with mac+shift+a and it will show memory leaks.. and for more accurately find memory leaks use Instruments

http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/WorkingWithInstruments/WorkingWithInstruments.html


Enable NSZOMBIE to start with then use the allocation tools in instruments.


Use XCode 4's analyze feature for basic leaks - it's very good.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜