title: How to convert data to image in iOS
body: <pre><code>NSData *imageData = UIImagePNGRepresentation(your_image_here);
  </code></pre>
  
  <p>After that i transferred it to another iPhone using bluetooth.
  Now i need to convert the data back to image. Can any one tell me how to do it?</p>