在控制台提示是: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key scrollView.'

 

 

一般此问题 都是由Interface Build与代码中IBOutlet的连接所引起的。 可能是在代码中对IBOutlet的名称进行了修改,导致Interface Build中的连接失效。 总之,出现这种错误,你必须好好检查你的IBOutlet与IB之间的关联情况。

posted on 2013-09-06 21:14  Jelly_L  阅读(245)  评论(0编辑  收藏  举报