In my app, I create a directory, and then the following code works:
NSDictionary *fileAttributes = [fileManager fileAttributesAtPath:trackDirectory traverseLink:YES];
NSDate *fileDate = [fileAttributes objectForKey:NSFileModificationDate];
However, when I try and get the NSFileCreationDate instead, it doesn't work.
What am I doing wrong?