Skip to content
November 25, 2011 / windperson


在iOS的UITableView, 原本的table view,在點選表內的項目會開啓下一層次資料(也就是起始另一個modal view caontroller來顯示資料時),總是會跳出下面的錯誤而整個crash:

exception occured!, ex=[<ShowcardViewController 0x5854ba0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key BackBtn.

objc[15363]: EXCEPTIONS: finishing handler



不過,原本在第一層table view要開啓第二層時,資料的傳遞方式是使用KVC將資料塞給第二層的view controller,所以才會出現這種令人誤解的錯誤,看來在每個平台搞自動化的『Data-binding』,總會有令人訝異的“驚喜”…… (=. = )


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: