title: Manipulating individual pixels of a UIImage
body: <p>I'm currently attempting to port a Java program over to iOs which utilzes BufferedImage's .setRGB method to individually manipulate images' pixels like so</p>
  
  <pre><code>image.setRGB(x, y, color);
  </code></pre>
  
  <p>In Objective-C I'm using UIImage in place of BufferedImage and what I'd like to know is if there is an equivalent way of doing Java's setRGB , or must I convert the image to a byte array, manipulate the pixels and then use ImageWithData?</p>