Reputation: 171
In my app am uploading an image from photo library to UIImageView . using this step NSData *imageData = UIImageJPEGRepresentation(imageView.image, 0.9); am getting an imagedata.
I want to insert this image in to service in binary format .
How can i get binary data for an image. please help me from this .
Upvotes: 0
Views: 750
Reputation: 955
NSData itself is binary data. You can feed NSData object in binary data.
Upvotes: 4