gpt4 book ai didi

ios - 未捕获的异常 'NSInvalidArgumentException',原因: 'Receiver .. has no segue'

转载 作者:行者123 更新时间:2023-11-30 13:53:43 24 4
gpt4 key购买 nike

我最近才开始。我无法修复它,也不知道该怎么做

我已附加文件和图像。当我运行我的应用程序时,我收到以下错误:

        2015-11-26 12:17:08.175 login[6107:324531] 
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: 'Receiver (<login.ViewController: 0x7fc0d94b28d0>)
has no segue with identifier 'loginView''

*** First throw call stack:

(
0 CoreFoundation 0x0000000100457f45 __exceptionPreprocess + 165

1 libobjc.A.dylib 0x000000010217bdeb objc_exception_throw + 48

2 UIKit 0x0000000100e099ea -[UIViewController shouldPerformSegueWithIdentifier:sender:] + 0

3 login 0x000000010025fc85 _TFC5login14ViewController13viewDidAppearfS0_FSbT_ + 309

4 login 0x000000010025fce1 _TToFC5login14ViewController13viewDidAppearfS0_FSbT_ + 49

5 UIKit 0x0000000100e0c675 -[UIViewController _setViewAppearState:isAnimating:] + 830

6 UIKit 0x0000000100e0cff8 -[UIViewController _endAppearanceTransition:] + 262

7 UIKit 0x0000000100e47a00 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 1290

8 UIKit 0x0000000100e3d917 __49-[UINavigationController _startCustomTransition:]_block_invoke + 233

9 UIKit 0x000000010166db24 -[_UIViewControllerTransitionContext completeTransition:] + 101

10 UIKit 0x0000000100c5cf4a __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke93 + 834

11 UIKit 0x0000000100d1eace -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 644

12 UIKit 0x0000000100cfc9df -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 241

13 UIKit 0x0000000100cfcd8e -[UIViewAnimationState animationDidStop:finished:] + 80

14 QuartzCore 0x00000001051b9fa0 _ZN2CA5Layer23run_animation_callbacksEPv + 308

15 libdispatch.dylib 0x0000000102c4f49b _dispatch_client_callout + 8

16 libdispatch.dylib 0x0000000102c372af _dispatch_main_queue_callback_4CF + 1738

17 CoreFoundation 0x00000001003b82e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

18 CoreFoundation 0x00000001003798a9 __CFRunLoopRun + 2073

19 CoreFoundation 0x0000000100378e08 CFRunLoopRunSpecific + 488

20 GraphicsServices 0x0000000104a4bad2 GSEventRunModal + 161

21 UIKit 0x0000000100c7430d UIApplicationMain + 171

22 login 0x00000001002630dd main + 109

23 libdyld.dylib 0x0000000102c8392d start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

我的代码截图在这里:

Screenshots of code

最佳答案

您的错误准确地告诉您需要做什么。

Receiver (<login.ViewController: 0x7fc0d94b28d0>) has no segue with identifier 'loginView'

因此请检查 Storyboard 中的 Segue 并确保 Segue 标识符来自 LoginViewControllerloginView .

关于ios - 未捕获的异常 'NSInvalidArgumentException',原因: 'Receiver .. has no segue' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33931490/

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