title: iOS uilabel text cross view
body: <p>I am doing a countdown apps with storyboard and navigation controller with 2 view controller</p>
  
  <p>"A" controller is with UILABEL showing how many days</p>
  
  <p>and "B" Controller is a date picker with button below is the code from "B" controller</p>
  
  <pre><code>- (IBAction)doneSetting:(id)sender
  {
  //Remove the time component from the datePicker.  We care only about the date
  NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalendar];
  NSUInteger preservedComponents = (NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit);
  self.datePicker.date = [calendar dateFromComponents:[calendar components:preservedComponents fromDate:self.datePicker.date]];
  
  //Set up a timer that calls the updateTime method every second to update the label
  NSTimer *timer;
  timer = [NSTimer scheduledTimerWithTimeInterval:1.0
                                           target:self
                                         selector:@selector(updateTime)
                                         userInfo:nil
                                          repeats:YES];
  
  }
  
  -(void)updateTime
  {
  //Get the time left until the specified date
  NSInteger ti = ((NSInteger)[self.datePicker.date timeIntervalSinceNow]);
  NSInteger days = (ti / 86400);
  
  
  //Update the lable with the remaining time
  self.countdownLabel.text = [NSString stringWithFormat:@"%02i days", days];
  
  }
  </code></pre>
  
  <p>how do I get the countdownlabel.text to appear on "A" Controller?</p>
  
  <p>Thanks in advance</p>