Re: How are views supposed to reload after being nillified by memory warnings?
Re: How are views supposed to reload after being nillified by memory warnings?
- Subject: Re: How are views supposed to reload after being nillified by memory warnings?
- From: David Duncan <email@hidden>
- Date: Wed, 29 Feb 2012 10:53:55 -0800
On Feb 28, 2012, at 10:36 PM, G S wrote:
> So I did override loadView, simply to write to a log and then call [super
> loadView]. In the log, I verified that the controller's loadView method IS
> being called after the overlapping view is dismissed. I also verified that
> the object's nibName property contains the name of the XIB it's initialized
> with. So it should be reloading from this XIB. Instead, however, I'm
> getting the "plain" (blank) view.
If your view controller is backed by a XIB, then yes you should just get that XIB reloaded and displayed.
Do you do anything special inside of -viewDidLoad?
--
David Duncan
_______________________________________________
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