How are views supposed to reload after being nillified by memory warnings?
How are views supposed to reload after being nillified by memory warnings?
- Subject: How are views supposed to reload after being nillified by memory warnings?
- From: G S <email@hidden>
- Date: Tue, 28 Feb 2012 18:10:09 -0800
Hi all.
View controllers that are buried in the navigation stack (or otherwise have
their views obscured) set their views to nil when they receive a memory
warning. This makes sense temporarily, because the views aren't visible.
But when the overlapping views are dismissed, how is the nillified view
supposed to reload itself? Currently, ours doesn't, and this leaves a
blank white screen and a permanently disabled app (until the user
force-quits).
I've found that viewWillAppear is not called on the blanked view
controller, as it is when no memory warning has occurred. So when exactly
are these blanked views supposed to recover?
This view is loaded from a XIB, by the way.
Thanks for any insight!
Gavin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden