2015-06-05 125 views
0

我需要一些幫助,當我在iphone開始應用6它啓動,但錯誤控制檯:終止應用程序由於未捕獲的異常

2015-06-05 12:45:45.211 EyeScanner[13508:189126] Failed to set (selectedImage) user defined inspected property on (HMNavigationController): [ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key selectedImage. 2015-06-05 12:45:45.213 EyeScanner[13508:189126] -[__NSCFNumber _imageThatSuppressesAccessibilityHairlineThickening]: unrecognized selector sent to instance 0xb000000000000003 2015-06-05 12:45:45.213 EyeScanner[13508:189126] Failed to set (selectedImage) user defined inspected property on (UITabBarItem): -[__NSCFNumber _imageThatSuppressesAccessibilityHairlineThickening]: unrecognized selector sent to instance 0xb000000000000003

但是當我開始它的iPhone 5SIOS 7 - 崩潰和日誌:

2015-06-05 13:50:57.202 EyeScanner[13752:607] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key selectedImage.'

+0

檢查您已連接視圖控制器上的圖像視圖和類 – iYoung

+0

點擊之間,檢查網點的財產.....東西是無效的有 –

+0

,你甚至找到這個解決方案? @pluck – Hemang

回答

0

以下是錯誤:

(HMNavigationController): [ setValue:forUndefinedKey:]:這個類是not key value coding-compliant的關鍵selectedImage

檢查:

1-如果您已連接與對象正確財產IBOutlet

2-在碼的任何刪除屬性,但在對象仍然IBOutlet靶向刪除屬性。

編輯:

嘗試清潔使用Shift-CMD-K

而且乾淨生成文件夾中的項目。要訪問該選項,請打開「產品」菜單並使用Option鍵顯示「清理生成文件夾」選項。

Xcode Image

+0

檢查它已經,所有視圖中刪除網點,這就是爲什麼我在這裏試着問 – pluck

+0

我已經編輯了答案 –

+0

我也清楚得 – pluck

相關問題