0

![enter image description here][1]Before posting I have read questions with similar issues but their fix didnt work for me hence my posting. i am having an issue with an app and i was advised to use storyboards to fix it. As a result i followed this link http://www.raywenderlich.com/forums/viewtopic.php?t=3834 to move my xib to my storyboard. Then, in custom class

  • Entered "SecondView"(since that was where the nib was called) so the button of the newview says "SecondView"
  • Since the app is a uisplitview i right click and dragged the "yellow icon" from the detailviewcontroller to my newview and selected push, destination current and identified name: next. ( Correct me if this step is wrong.
  • Navigated to secondview.h and entered this code [self performSegueWithIdentifier:@"next" sender:self]; in viewDidLoad

However, strangly enough i get the error that secondView has no segue named next. Looking at this link 'Receiver (<ViewController>) has no segue with identifier 'addSegue' I seem to have done everything that was done in the image except that he used a button and I want to call it programmatically. Any help would be appreciated. Thank you

https://i.stack.imgur.com/rq0r8.jpg

Community
  • 1
  • 1
Jennifer
  • 89
  • 7

1 Answers1

2

enter image description here

Don't forget to set storyboard segues id: next

Mayank Jain
  • 5,663
  • 7
  • 32
  • 65