The view controller of a uitabbarcontroller not getting refreshed
<p>i have a uitabarcontroller in which 3 view controller are added .in the 3rd tab i have a picker view which selects some settings based on which data in the 2nd tab changes.When i migrate into 2nd tab the data is not getting refreshed as i have the same old data.How can i refresh the data in the 2nd tab.</p>

<p>NSMutableArray *localControllersArray = [[NSMutableArray alloc] initWithCapacity:3];</p>

<pre><code>MainViewController *mainview;
mainview = [[MainViewController alloc] init];
mainview.tabBarItem.image=[UIImage imageNamed:@"pipeline.png"];
mainview.title=@"Pipeline";
navigationController = [[UINavigationController alloc] initWithRootViewController:mainview];
[localControllersArray addObject:navigationController];
[navigationController release];
[mainview release];
tabBarController.viewControllers = localControllersArray;
    [self.view addSubview:tabBarController.view];
</code></pre>

<p>This is the way i have added 3 view controller to my tab controller in a view controller.</p>
