WEB开发网
开发学院手机开发iPhone 开发 iPhone 使用Objetive-zip读取zip文件 阅读

iPhone 使用Objetive-zip读取zip文件

 2010-08-21 06:30:00 来源:WEB开发网   
核心提示:NSString *fileText2= [[[NSString alloc] initWithBytes:[data2 bytes] length:bytesRead2 encoding:NSUTF8StringEncoding] autorelease];NSLog(@"%@",fileText

NSString *fileText2= [[[NSString alloc] initWithBytes:[data2 bytes] length:bytesRead2 encoding:NSUTF8StringEncoding] autorelease];

NSLog(@"%@",fileText2);

}

[unzipFile release];

} @catch (ZipException *ze) {

NSLog(@"ZipException caught: %d - %@", ze.error, [ze reason]);

} @catch (id e) {

NSLog(@"Exception caught: %@ - %@", [[e class] description], [e description]);

}

[pool drain];

return 0;

}

上一页  1 2 

Tags:iPhone 使用 Objetive

编辑录入:coldstar [复制链接] [打 印]
赞助商链接