title: iOS : How to convert a video PHAsset to NSData
body: <p>I want to put the videos stored on my iPhone to my Google Drive.
  I have already done with images, but with videos, it's an other problem...</p>
  
  <p>For images, no problem, I convert my asset to an NSData with this method :</p>
  
  <pre><code>   data = UIImagePNGRepresentation(result!)!
  </code></pre>
  
  <p>And I put the image to my drive !</p>
  
  <p>But, for videos, I tried many different ways, but no, I can't.</p>
  
  <p>How can I do ?</p>
  
  <p>Thanks a lot !</p>