NSDictionary *attributes = [fileManager attributesOfItemAtPath:[NSString stringWithFormat:@"%@/%@", documentPath, sortArr] error:NULL];
//NSLog(@"파일 정보 : %@", [attributes objectForKey:NSFileCreationDate]);
//NSLog(@"파일 정보 : %@", attributes);
위에 NSSring으로 들어간게 파일 경로 입니다.
위와 같이 하시면 파일의 정보를 가져올수 있습니다.
--맥부기 코스모스님 답변에서 발췌
'iOS > objective-c' 카테고리의 다른 글
| 화면 자동 꺼짐 방지 (0) | 2018.12.12 |
|---|---|
| 맨날 헷갈리는 nsstring substring (0) | 2018.12.12 |
| ios 날짜구하기 (0) | 2018.12.12 |
| ios 키보드 처리 (0) | 2018.12.12 |
| 푸쉬 인증서 변환(.p12 -> .pem) (0) | 2018.12.12 |