I am new to iPhone development.Currently I am working on an application in which I need to send an image as well as text. So I thought of using json technology by sending the string as json data. Now I need to append this image to this string. Can anyone suggest a method to do this?
This application should also be able to bump with an android phone. Is there any method to do this?
I heard of converting the image to base64 and send as string. Is that the right method to do it?
converting image to base64 is the right method for this. please have look at following code snippet
You can use this string to send through JSON data
Edited Part
For iPhone Try this code
Hope this will solve your problem