title: how to take a screenshot with bitmap on iOS
body: <p>I have a feature, I want to take a screenshot of a UIView(called "arrangeView" in my codes). and send the picture to my server, and then I will print it, so I want a high quantity picture..</p>
  
  <p>My codes:</p>
  
  <pre><code> UIGraphicsBeginImageContext(arrangeView.frame.size);
      [arrangeView.layer renderInContext:UIGraphicsGetCurrentContext()];
      UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();
      //save and send method
      [self saveImage:newImage WithName:imgTitle];
  </code></pre>
  
  <p>With these codes I have 2 issues:</p>
  
  <ol>
  <li><p>the picture quality is too low. because after I uploaded to the
  server, I will print it. but the picture I got with the codes only
  20~40k, it is too small to print.</p></li>
  <li><p>one friend told me that the app store don't alow app take a screenshot and send it to the server. he told me to use bitmap.</p></li>
  </ol>
  
  <p>And I searched in google, I don't find a good solution for it. Would someone help? </p>
  
  <p>Thank you very much.</p>