title: Unwind segue from navigation back button
body: <p>I'm trying to pass data back to my source view controller by performing an unwind segue. I found an answer for this here:
  <a href="https://stackoverflow.com/questions/13551778/unwind-segue-with-navigation-back-button">Unwind segue with Navigation back button</a></p>
  
  <p>I followed the instructions in the first answer, but the segue is never triggered. </p>
  
  <p>In the source view controller's .h:</p>
  
  <pre><code>- (IBAction)returnJ:(UIStoryboardSegue *)segue;
  </code></pre>
  
  <p>Here's my source view controller .m:</p>
  
  <pre><code>- (IBAction)returnJ:(UIStoryboardSegue *)segue
  {
      NSLog(@"Returned");
      if ([[segue identifier] isEqualToString:@"return Jobs"]) {
          NSLog(@"Retuned");
          resSolarViewController *returnController = [segue sourceViewController];
          if (returnController.jobsList) {
              self.jobs = returnController.jobsList;
              [[self tableView] reloadData];
          }
          [self dismissViewControllerAnimated:YES completion:NULL];
      }
  }
  </code></pre>
  
  <p>I'm pretty sure I have everything hooked up correctly in IB, but the neither of the NSLogs are never shown in the console. </p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks.</p>