Memory Level Warning and Leaks in iPad Application
I am making one iPad application in which I have 开发者_如何学运维to make two view controller and then adding UIButton, UIImageView, Video, Audio, WebView, PooverView in the view dynamically and navigate between two views continuously using pushViewController / Popviewcontroller methods of navigation view controllers.
I have also manage all the IBOutlet to be free in viewDidUnload() method and also managed the dealloc() method as per the apple's standard. Every created object I am releasing wherever required. But I am getting memory level 2 warning when doing push/pop between view more than 100 times continuously. And here I attached the leaks I am getting in iPad device. And it is not specified where in the application leaks exists but I am getting few leaks stated as follows:
(1) UIControlTargetAction (2) GeneralBlock-16 (3) _NSArrayM (4) UIButtonContent (5) UIButtonLabel (6) GeneralBlock-96 (7) _NSCFDictionary
Can anyone please help me to solve this critical problem. This is very critical situation for my project.
Thanks in advance.
精彩评论