3

How to convert imagedata into base64 my code is:

UIImage *image = [UIImage imageNamed:@"BombTense.png"];
NSData *imageData=UIImagePNGRepresentation(image); 

I want to convert these imagedate into base64 and pass it to wsdl tool generated webservices code. please help me.

pinku
  • 87
  • 1
  • 7
  • Check [this link](http://stackoverflow.com/questions/2197362/converting-nsdata-to-base64) –  Jul 29 '11 at 06:01

1 Answers1

0

http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html by Matt Gallagher

Mugunth
  • 14,461
  • 15
  • 66
  • 94