-1
當試圖在Swift中創建圖像選擇器時,用戶按下按鈕並選擇圖像,我遇到了這個錯誤:Swift中的圖像選擇器出錯「這個類不是關鍵值編碼 - 關鍵」
'NSUnknownKeyException', reason: '[<MemeGenerator.ViewController 0x7ff3805a6f10> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key selectedImage.'
我的視圖控制器類是here
任何想法有什麼不對?如有必要,我可以提供更多的文件。