title: Screen capture video in iOS programmatically
body: <p>I'm trying to create a UIView that allows a user to tap a button in i and record the screen (not make a video from the camera), then save it to the document folder.  I've seen a couple of SO articles here that talk about AVAssetWriter and make references to this link: <a href="http://codethink.no-ip.org/wordpress/archives/673">http://codethink.no-ip.org/wordpress/archives/673</a> , but that link appears to be dead.</p>
  
  <p>But no one has actually shown a solution or provided any examples on how to accomplish.  Anyone have any ideas or can point me in the right direction? This should be simpler than it is.</p>
  
  <p>Thanks,
  Doug</p>