2010-11-29 50 views

回答

2
NSError *error = nil; 
NSDictionary *fileInfo = [[NSFileManager defaultManager] attributesOfItemAtPath: filePath error: &error]; 
if (fileInfo) { 
    // examine fileInfo, see NSDictionary (NSFileAttributes) in NSFileManager.h 
} else { 
    // handle the error 
} 
+0

嗨,感谢您的指导。祝贺你 – tan 2010-11-30 01:36:22

相关问题