【问题标题】:Could not perform segue [duplicate]无法执行转场 [重复]
【发布时间】:2015-10-29 16:43:59
【问题描述】:

我正在尝试通过这种方法执行segue:

 [self performSegueWithIdentifier:@"liveStream" sender:self];

我收到了这个错误:

reason: 'Could not perform segue with identifier 'liveStream'. A segue must either have a performHandler or it must override -perform.'

我找不到任何解决方案。你们知道如何解决吗? 我会很感激的。

【问题讨论】:

  • 感谢@Larme,我在那里找到了解决方案:) 但对于其他人,我使用的是 CUSTOM segue,为此你必须有一个自定义类,而我没有。解决方案是将 segue 类型从 CUSTOM 更改为另一种。

标签: ios objective-c segue


【解决方案1】:

这是你做的吗?

Example

准确检查标识符

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-23
    • 2021-11-11
    • 2012-09-02
    • 1970-01-01
    相关资源
    最近更新 更多