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.
精彩评论