반응형

    NSFileManager *filemgr;
    NSArray *filelist;
    int count;
    int i;
   
    filemgr = [NSFileManager defaultManager];
    filelist = [filemgr contentsOfDirectoryAtPath:@"/" error:NULL];
    count = [filelist count];
   
    for(i = 0; i < count; i++)
    {
        NSLog(@"%@", filelist[i]);
    }

반응형
Posted by 컴스터
,