我做在Xcode的iPhone應用程序,我改變了一些東西,我得到這個錯誤:Xcode的運行錯誤
2012-01-01 10:55:40.295 Dodge Cars free[549:f803] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIApplication 0x68912d0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key RoadImage.'
*** First throw call stack:
(0x13cd052 0x155ed0a 0x13ccf11 0x9c4032 0x935f7b 0x935eeb 0x950d60 0x24391a 0x13cee1a 0x1338821 0x24246e 0x244010 0x2414a 0x24461 0x237c0 0x32743 0x331f8 0x26aa9 0x12b7fa9 0x13a11c5 0x1306022 0x130490a 0x1303db4 0x1303ccb 0x232a7 0x24a9b 0x1fc8 0x1f25 0x1)
terminate called throwing an exception
我完全不知道這意味着什麼,但它指的是RoadImage我的.xib文件中的UIImageView。我試圖清理應用程序,但似乎沒有幫助。有任何想法嗎?
據我所知,這一切都很好,我發現,如果我刪除該UIImageView它給了我同樣的錯誤,但與我的.xib文件中的另一個UI元素。 – 2012-01-01 16:10:55
好吧,你正試圖設置一些沒有聲明的東西,你會得到任何警告? – 2012-01-01 16:13:49
沒有我沒有得到任何警告 – 2012-01-01 16:19:16