Possible Duplicate:
UIAlertView crashes when added to appiOS:如何徹底刪除UIButton插座?
我最近嘗試刪除一個UIButton出口叫myButton
,但我想我一定是錯過了一些東西,因爲我現在得到以下錯誤:
this class is not key value coding-compliant for the key myButton
如果我用grep整個項目,有沒有剩餘的引用 myButton,所以我不知道如何解決這個問題。
如何擺脫這種異常?
代碼PLZ。 ??嘗試[myButton removeFromSuperView] – Omarj
問題不在代碼中,它在Interface Builder中。 –
將它從xib中移除。這個錯誤是因爲這個。 – iDev