title: xcode storyboard IOS 5.0 switch from a view to another one from login page to an Message page
body: <p>I am trying to switch from a login (view) to a (messages) view.</p>
  
  <ol>
  <li>I created the two views controllers in the storyboard</li>
  <li>I created a button (login) in the first view </li>
  <li>I created a method (loginPressed) and I related the button login with the method</li>
  <li>Finally I created a segue between the two views from the button login Identifier :"goToMessages" and style "push" to the view Messages graphically.</li>
  <li><p>I wrote the code below in the method loginPressed : </p>
  
  <p>[self.navigationController preformSegueWithIdentifier:@"goToMessages" sender:self];</p></li>
  </ol>
  
  <p>Is this method wrong? </p>
  
  <p>Thanks</p>