title: Taking a screenshot of a view
body: <p>How does one take a screenshot of a view with code?</p>
  
  <p>I have read on some forums and there was a post made by an apple engineer and the code didnt work.</p>
  
  <p>Is there a built in way to do this or what is the correct way to screenshot a view?</p>