NSFileManager *fileManager = [NSFileManagerdefaultManager];
[fileManager contentsOfDirectoryAtPath:resourcePath error:nil]
DLog(@"files is %@",[fileManager contentsOfDirectoryAtPath:resourcePath error:nil]);
打印结果
files is (
"20120606125656860.m4r",
"20120606125709704.m4r",
"20120606125949460.m4r",
"20120606130009420.m4r"
)