iphone - How to make UIViewController re-load the view? -
My view controller is set to load views from the Nib file at some point in viewDidAppear
I can change self.view
and the scene may disappear, next time I can decide to load the original view. How can I do this?
One way to do this is to view the controller property object in Dedepper:
[Auto Set Mese Week Controller: [[[MySubViewController alloc] initWithNibName ...] Autorick]];
Your mySubViewController property will release the previous copy of the View Controller and will maintain the new one.
Hope this will be helpful.
Comments
Post a Comment