Currently, I am developing an app in which I have saved recorded video to document directory and my
code is here:
NSURL * movieURL = [info valueForKey:UIImagePickerControllerMediaURL] ;
NSData * movieData = [NSData dataWithContentsOfURL:movieURL];
NSArray *documentPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [documentPaths objectAtIndex:0];
NSString *fullPath = [documentsDirectory stringByAppendingPathComponent:[[self video]text]];
fullPath = [fullPath stringByAppendingFormat:@".MOV"];
[movieData writeToFile:fullPath atomically:YES];
Now how can I check that videos are save in document directory or not?
you can get all saved video using this code:-