【发布时间】:2011-09-06 09:44:23
【问题描述】:
我开始对我的应用使用的文件应用 iOS 4 数据保护。我担心setAttributes:ofItemAtPath:error: 未能应用更改的可能性:是否有一组离散的已知原因导致此方法失败?我没有很好的回退行为以防无法设置属性,因为出于商业原因需要设置它,所以我想知道我是否应该担心调用失败。
【问题讨论】:
标签: objective-c cocoa-touch security nsfilemanager data-protection