I need a tabbed application to switch from view controller 2 to view controller 1 (home view controller) and then immediately call a method on view controller 1, without any input from the user. Using viewDidLoad doesn't work, since (as far as I can tell) the home view controller stays loaded the whole time; making it visible doesn't load it again. I've been trying to use -(void)tabBarController: didSelectViewController: but it's not getting called either, I assume because it only works with user-initiated selections, not programmatic selections.
So what can I do?