How to convert UIimage to base64 encoded string? I couldn\'t find any examples or codes with detailed regarding.
UIimage
NSData (Base64) has changed slightly since the last reply in this thread.
you should now use:
NSData *base64EncodedImage = [UIImageJPEGRepresentation(img, 0.8) base64EncodingWithLineLength:0];