ios获得文件字节总数

NSDictionary *attributes = [[NSFileManager defaultManager] attributesOfItemAtPath:self.finalPath error:NULL]; unsigned long long fileSize = [attributes fileSize]; // in bytes

posted @ 2013-07-11 11:55  如来藏  阅读(166)  评论(0编辑  收藏  举报