zach
zach

Reputation: 1

Reload tabbarviewcontroller

i have a tabbar view controller and I know with a navaigation controller you can reload the application so updates are shown. Is this possible with a tabbar view controller? I basically want it to refresh the screen when i click back into the tab instead of having to rotate the screen to get the new updates to show.

Upvotes: 0

Views: 229

Answers (1)

Jesse Naugher
Jesse Naugher

Reputation: 9820

You can implement the UITabBarControllerDelegate method didSelectViewController: and call the selected viewController's loadView: or whatever method you use to load/update the view you want to refresh (maybe viewWillAppear: or similar as well).

Upvotes: 1

Related Questions