Base64 to image with given format in iOS
I have used NSData *data=[NSData dataFromBase64String:base64]; UIImage
*image= [UIImage imageWithData:data]; to save base64 image data. Such that
it always saved as a png type. How can I set the type of the image like
jpeg.>.?
No comments:
Post a Comment