title: [iOS]How to make a "snapshot" of the current view's state
body: <p>I need to make a snapshot or a screenshot - call it as you like- of the current view and then display it in the modal view. </p>
  
  <p>Because if I just write this in the ModalView's View controller</p>
  
  <pre><code>MyAppViewController *viewController = [[MyAppViewController alloc] init];
  self.view = viewController.view;
  </code></pre>
  
  <p>All the methods of the MyAppViewController are called as well, but I don't need it, I just need to "save" everything that was on the screen when the ModalView appeared and show it in the ModalView's view.</p>
  
  <p>How can I do it?
  Thanks in advance!</p>