Make ajax request upon programmatically switching tabBarController viewContoller?

ViewWillAppear should be called.. I just tested it.

ViewWillAppear should be called.. I just tested it. Another solution: use the UITabBarControllerDelegate with - (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController for tracking changes.

Thanks – econstantin Apr 17 at 22:19 found the problem: I forget to the set the 'Class Identity' for the ViewerViewController in IB... thanks for helping to direct me towards this. – econstantin Apr 17 at 22:25 I don't know your code. But viewWillAppear: should be called.

Just tested it again with a two ViewControllers. In each of them I fire a performSelector:withObject:andDelay to a method which will change the selected index of the TabBarController. And I can see (NSLog) that viewWillAppear: gets called every time.

– harakiri Apr 17 at 22:29 thanks for your answer regarding viewWillAppear as it enabled me to do what I was trying to do. I am curious however how your suggestion above "another solution: UITabBarControllerDelegate" is different to what I was doing in my original question? Thanks – econstantin Apr 170 at 2:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions