What is performSegueWithIdentifier ?

By | June 3, 2014

What is performSegueWithIdentifier? – segue

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 pushing operation of viewcontroller to the next view. Here’s a sample code to understand. On clicking the button, performs the navigation.