title: ios Storyboard - Push a title onto the View Controller
body: <p>Is this piece of code suppose to set the title on the ViewController I am connecting to?</p>
  
  <p>The 2 UIViewControllers are connected via a push segue - the first one is embedded in a NavigationController.</p>
  
  <pre><code>-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  {
   if ([[segue identifier] isEqualToString:@"settingsSegue"])
   {
  
       self.navigationItem.title = [[NSString alloc] initWithFormat:@"Custom Title"];
  
   }
   }
  </code></pre>
  
  <p>It does not work for me, but the syntax is right.</p>
  
  <p>Advance Thanks:-)</p>