I need convert a file from ALAssetsLibrary
to NSData
, but I'm getting nil.
I use this code
path = file:///assets-library://asset/asset.mp4?....
NSURL *url = [[NSURL alloc] initFileURLWithPath:path];
NSData *dates = [NSData dataWithContentsOfURL: url];
How can do this correctly?