iOS - xib死活連不上代碼問題/[<NSObject 0x1702023e0> setValue:forUndefinedKey:]: this class is not key

今天遇到一個問題:新建的xib文件連接不上代碼。 解決方法: 這個file’s Owner 的Custom Class 設置爲自己的類名,終於可以把xib的控件拖到代碼裏了,但隨後運行之後出現: [ setValue:forUndefinedKey:]: this class is not key 直接崩潰了。。 解決方法: 然後再把剛纔的這個file’s Owner 的Custom Class清
相關文章
相關標籤/搜索