开发者

Problem with Interface Builder and Xcode [duplicate]

This question already has answers here: iPhone App Crash - Error? [duplicate] (4 answers) Closed 8 years ago.

From some reason, any time I connect IBOutlets or IBActions in Interface Builder, and build my app, the app crashes. In the Console Log I get t开发者_运维百科his: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key leftWebView.'

How can I solve it?

Thanks


My guess is that you have removed a property from your controller that is still hooked up to an Action or Outlet in Interface Builder. Try editing the view in Interface Builder to remove that connection.

Also check to see if the Class Identity on the nib is set to the name of the controller class that uses it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜