目前,我正在开发一个应用程序,其中我已将录制的视频保存到文档目录和我的
代码在这里:
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];
现在如何检查视频是否保存在文档目录中?