I have to populate table cell from database and images are on device. I\'ve to store that image in imageDataObject, how to convert that UIImage to
imageDataObject
UIImage
Try With this:
Use this for convert UIImage to NSData.
NSData
NSData *imagedata = UIImagePNGRepresentation(thumbnail);
Try this for image data convert back to UIImage
UIImage *image= [UIImage imageWithData:imagedata];