CC.
CC.

Reputation: 803

Reload a tabbarView from another tabbar?

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

Answers (1)

Daniel Dickison
Daniel Dickison

Reputation: 21882

You can update the labels in viewWillAppear:, since that will be called each time the tab is selected.

Upvotes: 1

Related Questions