Reputation: 803
What I have is a basic 4 tabbar setup with different viewControllers. I have a settings tab that updates a .plist file with the correct settings.
I need tab 1 to update it's on labels, either from the settings tab or on didSelectViewController on the 1 tab. But how do I do this, can't get it to work?
The only thing I have had working is for the user to completely exit the app so that the viewDidLoad method is called, and the view is loaded again.
Hope you can help me :)
Thanks
Upvotes: 1
Views: 707
Reputation: 21882
You can update the labels in viewWillAppear:
, since that will be called each time the tab is selected.
Upvotes: 1