UITableView's cellForRowAtIndexPath is not getting called after low memory warning

Posted by Jinesh on Stack Overflow See other posts from Stack Overflow or by Jinesh
Published on 2009-09-21T05:46:18Z Indexed on 2011/06/23 0:22 UTC
Read the original article Hit count: 386

Filed under:
|
|

I am new to COCOA and Objective C. I am working on an application which have two controllers with one table view in each, clicking an item form this table will lead to another controller to be pushed to the stack. All was working fine till i started handling low memory warning in app delegate. What i am doing in app delegate's applicationDidReceiveMemoryWarning is, deleting all of my model and popping out all controllers to its root view using popToRootViewControllerAnimated.

Now my problem starts, once low mem warning is received table's cellForRowAtIndexPath is not getting called. All other methods of UITableViewDataSource is properly called. What i get on screen is a blank white screen. I am testing my app in iPhone OS 3.0 and development is done in Xcode V 3.1.3. Hope you guys can help me to nail this.

Thanks in advance, Jinesh.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitableview