我在测试我的应用时遇到了崩溃.以下图片是我的故事板:

我在View Controller中有代码:
@IBAction func unwindToHomeScreen(segue:UIStoryboardSegue) {
}
Run Code Online (Sandbox Code Playgroud)
"添加新项目"的视图有一个"取消"按钮,我控制 - 拖动它到顶部的"退出"图标并链接到unwindToHomeScreen,它工作正常.
"添加新项"有一个类AddTableViewController和我在里面写的代码:
@IBAction func save() {
// Execute the unwind segue and go back to the home screen
performSegueWithIdentifier("unwindToHomeScreen", sender: self)
}
Run Code Online (Sandbox Code Playgroud)
我控制 - 将"保存"按钮拖动到func,但是当我单击按钮时应用程序崩溃
我可以使用dismissViewControllerAnimated(true, completion: nil),但我只是想知道为什么performSegueWithIdentifier不能工作?
我在dropbox.com/s/hpybgg9x67rtqng/foodpinstatictable.zip?dl=0上阅读了代码并尝试制作一个并使用performSegueWithIdentifier这个例子进行练习,我没有看到她的segue标识符,有什么区别?