erminating app due to uncaught exception 'NSUnknownKeyException', reason: '[setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key messageImage1.'
我的是因?yàn)閘ib組件關(guān)聯(lián)IBOutlet的時(shí)候關(guān)聯(lián)到了file's ower了。改成直接關(guān)聯(lián)lib對(duì)應(yīng)的那個(gè)class即可..
按鈕出發(fā)事件的時(shí)候同樣有類似解決方法的錯(cuò)誤桶略,錯(cuò)誤如下
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MainTableViewController gotoThat:]: unrecognized selector sent to instance 0xb91feb0'
解決方法同上