开发者

App terminates due to uncaught exception

My app was working fine unti开发者_高级运维l I added another tab to the tab bar controller. I got SIGABRT. Then I undid everything to try and get it working again and now get this

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'

Can anyone help?


Open your xib file(s) in Interface Builder and see if there are IBOutlets that got disconnected when you deleted your tab before. It's trying to connect an outlet that probably doesn't exist anymore.

[UIRuntimeOutletConnection connect]


Are you working with a NSDictionary ? Be sure that you're working with Mutable object. This error can happen if you're inserting into a NSDictionary (instead of a NS*Mutable*Dictionary). If not, maybe youre tab control indirectly use Dictionary

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜