我需要一种快速简便的方法来在iOS上存储具有唯一文件名的文件.我需要在文件前添加一个字符串,然后将生成的唯一标识符附加到末尾.我希望NSFileManager有一些方便的方法来做到这一点,但我似乎无法找到它.
NSFileManager
我在看createFileAtPath:contents:attributes:,但不确定属性是否会给我这个唯一的文件名.
createFileAtPath:contents:attributes:
cocoa-touch objective-c uniqueidentifier file-management ios
cocoa-touch ×1
file-management ×1
ios ×1
objective-c ×1
uniqueidentifier ×1