//ProfileImageView.image is my uiimageview from where i pick image
NSData* data = UIImagePNGRepresentation(ProfileImageView.image);
NSString *base64String = [UIImagePNGRepresentation(ProfileImageView.image)
base64EncodedStringWithOptions:NSDataBase64Encoding64CharacterLineLength];
NSString *url=[nsstring stringwithformat@"%@",base64String]
我转换string (base64String)
在线,我得到了正确的图像,但是当时
我正在向服务器发送ImageBinary (Base64string)
,它会收到损坏的数据