开发者

Problem with Interface Builder and Xcode [duplicate]

开发者 https://www.devze.com 2023-01-01 20:10 出处:网络
This question already has answers here: iPhone App Crash - Error? [duplicate] (4 answers) Closed 8 years ago.
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

精彩评论

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