图片String :
image.png
NSData * imageData = [[NSData alloc] initWithBase64EncodedString:imageStr options:NSDataBase64DecodingIgnoreUnknownCharacters];
UIImage * image = [UIImage imageWithData:imageData];
图片String :
NSData * imageData = [[NSData alloc] initWithBase64EncodedString:imageStr options:NSDataBase64DecodingIgnoreUnknownCharacters];
UIImage * image = [UIImage imageWithData:imageData];
本文标题:imageString 转 图片(UIimage)
本文链接:https://www.haomeiwen.com/subject/mfuuoxtx.html
网友评论