我的 Main.storyboard 中有所有这些。
NavigationController > ViewOneController > ViewTwoController
在 ViewController2 中的游戏结束时,我想通过在 UIAlertAction 中使用 segue 来返回 ViewController1。
我知道我将代码留在 UIAlertAction 处理程序中。然后:
{
// some segue function
}
如何将其链接回 ViewController1 以开始新游戏?
我不知道在 ViewController1.m 中输入哪个 segue,这是一个 unwindSegue,我将如何链接它们?
谢谢。