我正在研究这个应用程序,它一直工作得很好,然后我试图运行应用程序,并没有得到为什么segue没有运行,因为它总是假设应用程序打开时做.我然后按下一个执行相同segue的按钮,应用程序将崩溃.
这是错误消息:
2014-04-04 16:30:54.733 On Tour Company[3854:60b] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2014-04-04 16:30:55.043 On Tour Company[3854:60b] Current user: (null)
2014-04-04 16:30:55.246 On Tour Company[3854:60b] Push notifications are not supported in the iOS Simulator.
2014-04-04 16:31:00.593 On Tour Company[3854:60b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<LoginViewController 0x9bad0e0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key barSignUp.'
*** First …Run Code Online (Sandbox Code Playgroud)