title: iOS - Error : unrecognized selector sent to instance in PrepareForSegue:
body: <p>I wanna to pass data between controller, but I am getting this error, and I am blocked here :s</p>
  
  <h2>Error :</h2>
  
  <pre><code> [UITabBarController setUID:]: unrecognized selector sent to instance
  </code></pre>
  
  <h2>Code :</h2>
  
  <pre><code> - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  {
  NSString *test = (NSString *)sender;  
  if ([segue.identifier isEqualToString:@"segueno"]) {
      FirstViewController *VC = (FirstViewController *)[segue destinationViewController];
      VC.uID = test;
      NSLog(@"%@",VC.uID);
  }}
  </code></pre>
  
  <h2>Here is storyboaard</h2>
  
  <p><img src="https://i.stack.imgur.com/HYfHm.png" alt="enter image description here"></p>