I'm trying to write ALAsset
in a NSData
and somehow came up with the following code which does not work. What I would like to know is, whether the code is similar to this? Or is there another way of doing it?
NSData *data = [[NSData alloc] initWithContentsOfFile:@"assets-library://asset/asset.MOV? id=100000009&ext=MOV" ];