Wednesday, May 13, 2009

Re-initializing a View

When switching between multiple views using a UITabBarController, by default the view is only initialized the very first time (viewDidLoad). If a state changes that impacts a view the second time you visit it, the appropriate method to overload is:

(void)viewWillAppear:(bool)animated;

No comments:

Post a Comment