What is performSegueWithIdentifier ?

By | June 3, 2014

Set up a segue in your storyboard by giving an appropriate identifier – Click on the segue (left panel) and then click on Attributes (right panel)

 

This will perform the pushing the viewcontroller to the next view. Here’s a sample to understand on clicking the button, perform the navigation.