I have been trying everything for hours, and nothing\'s worked. I am trying to segue between two view controllers, from one tableViewController to another tableViewControlle
I had the same problem as I made new VC as subclass of another view controller. It should be subclass of UIViewController or UITableViewController. Check header file whether UIKIT is being imported or not.
In Interface Builder you need to set the segue identifier to segue1
which is a segue connected to your view controller.
I tried everything listed and had no luck. What worked was to create a new segue to a new View, then use that one, run it, then create a segue back to the old view.
i fixed it! 1. make sure the right storyboard is selected in Xcode(if you rename the storyboard change it in the project summary). then delete the app on the simulator and restart
I was able to fix it by running "clean" under the "Product" menu in Xcode, and resetting the contents and settings in the simulator.
I had the same problem and struggled with it for hours. Stackmonster's answer solved my problem (rename the storyboard), but I didn't understand why it solved the problem.
I found that when I changed an item on the storyboard (added a label or changed background colour) it was not reflected in the simulator - I wasn't using the storyboard that I could see in xcode, but an older version of the storyboard.
I had to rename the storyboard in the project navigator and also rename it in the info.plist
(in supporting files) and my label appeared, and the background colour applied, and the segue worked.
I don't know why the storyboard changes weren't taking effect, but it caused me a huge amount of time to find. I've seen on the blogs that a lot of devs have the same problem.