title: Recording and saving photo/video without it being added to Camera Roll
body: <p>I want to record a video and <strong>not</strong> have it show up in the Photos/Videos app, Camera Roll or other Photo Albums. </p>
  
  <p>Using the AVCam demo app provided by Apple I’m trying to save a recorded video to the apps’ own Document directory. This works fine, but the saved video is also registered in the Camera Roll / Photo Album and that is something I do not want. </p>
  
  <p>I’ve tried changing the filename extension from .mov to something random, and the video does get saved in the right location with the unknown extension and it does in fact not get added to the Camera Roll but right after saving a dialogue box is shown to the user: </p>
  
  <blockquote>
    <p>Invalid data – There was a problem writing the asset because the data
    is invalid and cannot be viewed or played.</p>
  </blockquote>
  
  <p>There are apps out there that do seem to be able to save to their own Documents directory and not have the taken pictures/videos added to the Camera Roll, ie <em>ReconBot</em>. </p>
  
  <p>So my question is: how can I save a picture or video to the apps’ Documents dir without it showing up in the Photos/Videos app (without the previously mentioned dialogue) ?</p>