Sounds like it should work, but if it doesn't try the following: 1. Click the segue that doesn't work and give it an identifier. Let's say it's PopoverToNewSegue.
-
In your implementation file for the popover view controller, add an action when the button is clicked.
-
That function should return void and add the following line: [self performSegueWithIdentifier:@"PopoverToNewSegue" sender:self];
That should get your segue running. I've noticed that segues don't always work like you expect them to, but this one works for me without fail.
本文介绍了一种解决iOS应用中Segue无法正常工作的问题的方法。通过为失效的Segue添加标识符并利用performSegueWithIdentifier方法,可以确保Segue正确触发。此方法简单有效,适用于各种情况。

被折叠的 条评论
为什么被折叠?



