title: Create image on top of another uiimage
body: <p>I am not able to draw image on top of another image. Below if the code I am using:</p>
  
  <pre><code>-(void)createImage
  {
  
  // create a new bitmap image context at the device resolution (retina/non-retina)
  UIGraphicsBeginImageContextWithOptions(imgVw_noHair_.frame.size, YES, 0.0);
  
  // get context
  CGContextRef context = UIGraphicsGetCurrentContext();
  
  // push context to make it current
  // (need to do this manually because we are not drawing in a UIView)
  UIGraphicsPushContext(context);
  
  // drawing code comes here- look at CGContext reference
  // for available operations
  // this example draws the inputImage into the context
  [eraser drawAtPoint:CGPointMake(50, 50)];
  
  // pop context
  UIGraphicsPopContext();
  
  UIImage _image_ = UIGraphicsGetImageFromCurrentImageContext();
  
  UIGraphicsEndImageContext();
  
  }
  </code></pre>
  
  <p>The image which I get from the current context is a black image.  I want to draw eraser image on the image which I get from the context.</p>