Push view controller happens twice – UInavigationViewController This happens when you try to drag the event for push view controller from on a button. It is common problem with uinavigationviewcontroller. Drag it from the first view controller to another and put the segue name and will solve the problem.
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. … Read More »