I have two view Controllers in my project ViewController, SettingsView. Here I am trying to update the ViewController's label, when i click on the SettingsView's back button. NSLog is working fine, but the label is not updating...
Please help me....  
SettingsView.m
-(IBAction)backToMain:(id) sender {
  //calling update function from ViewController
    ViewController * vc = [[ViewController alloc]init];
    [vc updateLabel];
    [vc release];
  //close the SettingsView 
    [self dismissModalViewControllerAnimated:YES];
}
ViewController.m
- (void)updateLabel
{
    NSLog(@"Iam inside updateLabel");
   self.myLabel.text = @"test";
}
Could you please tell me whats wrong with my code? Thank you!
 
     
     
     
     
    