title: Transferring data to another controller with segue. From the code
body: <p>How to pass values ​​from one controller to another??? I use a StoryBoard.</p>
  
  <p><img src="https://i.stack.imgur.com/r6pn3.png" alt="storyboard"></p>
  
  <p>I would like this to appear on the highlighted text view of the first view.</p>
  
  <p>Call the next view of the code, I think something like this should look like:</p>
  
  <pre><code>UIStoryboard *finish = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
  
      UIViewController *viewController = [finish instantiateViewControllerWithIdentifier:@"FinishController"];
  
       viewController.modalPresentationStyle = UIModalPresentationPageSheet;
       [self presentModalViewController:viewController animated:YES];
  </code></pre>
  
  <p>finishcontroller:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      self.lblFinishTitle.text=self.FinishTitle;
      self.lblFinishDesc.text = self.FinishDesc;
      self.lblFinishPoint.text=self.FinishPoint;
      [super viewDidLoad];
      // Do any additional setup after loading the view.
  }
  </code></pre>
  
  <p>first view: </p>
  
  <pre><code>-(void) prepareForSegue:(UIStoryboardPopoverSegue *)segue sender:(id)sender
  {
      if ([segue.identifier hasPrefix:@"FinishController"]) {
          FinishController *asker = (FinishController *) segue.destinationViewController;
          asker.FinishDesc = @"What do you want your label to say?";
          asker.FinishTitle = @"Label text";
          asker.FinishPoint = @"asdas";
      }
  }
  </code></pre>
  
  <p>I want to pass a value causing the transmission of the code</p>