views:

25

answers:

1

Hello,

Is there an efficient way to update the last modified property of a file on the iPad's filesystem i.e. the unix touch command?

I've had a look at NSFileManager but no luck.

+1  A: 

OK, so I'm answering my question just after I've asked it :(

I've found the method setAttributes:ofItemAtPath:error: in the NSFileManager class and I can specify the modified timestamp there.

Thanks anyway!

deanWombourne