文件名称:Objective C从远程url下载图片方法汇总
文件大小:30KB
文件格式:PDF
更新时间:2024-02-10 03:13:04
c ec iv
Objective C从远程url下载图片 - (UIImage *) getImageFromURL: (NSString *)theURL { UIImage *theImage = NULL; NSString *imageFileName = [BT_strings getFileNameFromURL:theURL]; NSData *imageData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:theURL]]; theImage = [[UIImage alloc] initWit