4

I have variable

var videoFile: AVAsset!

and it contains (loaded with) MP4 video, already, so no need any URL to download or save to local disc.

I have need to convert that videoFile to NSData using Swift. How to do this conversion?

freedom
  • 91
  • 5
  • 1
    Possible duplicate of [How to convert AVAsset to NSData or save it to file manager](http://stackoverflow.com/questions/28237412/how-to-convert-avasset-to-nsdata-or-save-it-to-file-manager) – Larme Aug 02 '16 at 08:26

0 Answers0