【问题标题】:Error in Swipe Gesture Recognizer during navigating from one page to other从一页导航到另一页时滑动手势识别器出错
【发布时间】:2014-05-26 05:50:10
【问题描述】:

当我点击后退按钮超过 3 次时,它会引发错误,而在第一次点击时效果更好。我在第一页上使用了 SWIPE GESTURE RECOGNIZER 并将其拖到第二页,反之亦然,但多次单击后按钮停止工作。错误如下。

2014-05-26 11:07:07.319 Prototype[946:11303] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
*** First throw call stack:
(0x1c8c012 0x10c9e7e 0x466e71 0x458ad9 0x458b54 0x10dd705 0x14920 0x148b8 0xd5671 0xd5bcf 0xd4d38 0x4433f 0x44552 0x223aa 0x13cf8 0x1be7df9 0x1be7ad0 0x1c01bf5 0x1c01962 0x1c32bb6 0x1c31f44 0x1c31e1b 0x1be67e3 0x1be6668 0x1165c 0x201d 0x1f45)
libc++abi.dylib: terminate called throwing an exception

【问题讨论】:

    标签: ios iphone objective-c


    【解决方案1】:

    您正在使用没有导航栏的推送。您是否要直接推送 uitableview 控制器?这会产生同样的错误。

    【讨论】:

    • 那么我应该怎么做才能消除该错误,我不明白应该使用其他推送选项,但为什么
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多