title: Use a string from an else string and display it in a different view
body: <p>I need help displaying a string, If the If-Else statement shows else, in a different View Controller. I am relatively new, so sorry if it seems stupid to you. I tried that in the ViewControler.m File:</p>
  
  <pre><code>-(IBAction)ButtonTouched:(id)sender
  {
      [self.InputField resignFirstResponder];
      if (NSOrderedSame == [self.InputField.text caseInsensitiveCompare:@"teacher"])
      {
          _Correct.hidden = FALSE;
          _Hider.hidden = TRUE;
          _FalseHider.hidden = FALSE;
          _SHOWCORRECT.hidden = TRUE;
          _CorrectAnswer.hidden = TRUE;
      } else {
          _FalseHider.hidden = TRUE;
          _Correct.hidden = TRUE;
          _SHOWCORRECT.hidden = FALSE;
          _CorrectAnswer.hidden = TRUE;
  
          NSString *ElseLabel = [NSString stringWithFormat:@"teacher"];
          self.OutputLabel.text = ElseLabel;
      }
  }
  </code></pre>
  
  <p>The <code>Elselabel</code> is in a different ViewControler in the MainStoryboard…. And when I go there via a modal segue, it doesn't display anything! Thanks for all responses! </p>