2013-01-22 64 views
2

我只是想問我是否可以檢查Core Data上的錯誤是否由完整磁盤引起。我在開發者網站上看到,「磁盤已滿」可以從例外描述中檢查,但我對如何檢查它沒有想法。 NSPersistentStoreIncompleteSaveError是我需要捕捉的錯誤嗎?在覈心數據中,如何檢查「磁盤已滿」是否導致錯誤?

參考:http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/CoreData/Articles/cdUsingPersistentStores.html

回答

0

我想,你應該發現錯誤保存:在MOC。請參閱Apple doc

相關問題