gpt4 book ai didi

ios - NSInvalidUnarchiveOperationException,UIStoryboardShowSegueTemplate

转载 作者:行者123 更新时间:2023-11-29 12:37:11 25 4
gpt4 key购买 nike

我正在使用其中有 UINavigationController 的 Storyboard。 View Controller 被弹出和推送。

问题是,当我推送一个 UIViewController 时,我在 iOS 7 上出现异常,它在 iOS 8 上运行良好。

Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named UIStoryboardShowSegueTemplate'

可能是什么问题?

你能帮忙吗

最佳答案

因为我的项目也遇到了同样的问题。我通过重新检查我在应用程序中定义的所有转场来解决这个问题。确保所有的 segues 都有一些 Action ,比如 push/pop/modal。

否则,该 Controller 上的应用程序将崩溃。请检查下面的快照,您将在 Storyboard中找到它。

请引用以下链接中的解决方案。

"Could not instantiate class named UIStoryboardShowSegueTemplate" - how can I make a Storyboard happy with iOS 7 and iOS 8?

关于ios - NSInvalidUnarchiveOperationException,UIStoryboardShowSegueTemplate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26019940/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com