ストーリーボードで、スクロールビューにボタンを追加しようとしていて、ボタンにアクションを割り当てています
- (IBAction)likeFood:(id)sender{NSLog(@"liked")};
しかし、iPhone シミュレーターで実行するとクラッシュし、出力には次のように表示されます。
Terminating app due to uncaught exception `'NSUnknownKeyException', reason: [<DetailFoodViewController 0xf034aa0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key like.'
誰でも助けることができますか?