Search code examples
iosxcodesegueviewcontroller

accidentally deleted segue. suggestions?


I had created a segue that performs on my app only if users have entered the correct login information. I accidentally deleted the action. Now when I click my login button, it puts me in the next view controller without putting information into the text fields. I created a new segue and I programmed it into my storyboard with the same title. Is there a possible way to fix this without restarting?


Solution

  • Have you checked the usual?

    • Edit | Undo (this works well in Interface Builder)
    • Git

    Otherwise, this you'll need to reimplement.