Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只想问我是否可以检查Core Data上的错误是否是由磁盘满引起的。我在开发人员网站上看到可以从异常描述中检查“磁盘已满”,但我不知道如何检查它。是NSPersistentStoreIncompleteSaveError我需要捕捉的错误吗?
NSPersistentStoreIncompleteSaveError
参考:http: //developer.apple.com/library/mac/#documentation/cocoa/conceptual/CoreData/Articles/cdUsingPersistentStores.html
我认为,您应该在 save: on MOC 中找到该错误。请参阅Apple 文档。