title: Camera Failed to capture still image with request CAMMutableStillImageCaptureRequest
body: <p>I use the <code>UIImagepickercontroller</code> to take images. Its a custom overlay camera.</p>
  
  <p>I use not the image preview. </p>
  
  <p>I take multiple images and save them in a folder. And I think this is the problem.</p>
  
  <p>If I multiple click on the <code>"takePicture"</code> button the whole time
  I get this output:</p>
  
  <pre><code>[Camera] Failed to capture still image with request &lt;CAMMutableStillImageCaptureRequest burstIdentifier:(null) irisIdentifier(null)&gt; (Error Domain=CAMCaptureControllerErrorDomain Code=-22100 "(null)")
  </code></pre>
  
  <p>Sometimes the app crashes. with this error:</p>
  
  <pre><code>[Camera] Attempting to generate BGRA thumbnail data of format 5003 with an invalid surface.
  </code></pre>
  
  <p>How can i solve this problem ?</p>