我正在使用以下代码将视频保存到我的照片库中:
ALAssetsLibrary *assetLibrary = [[ALAssetsLibrary alloc] init];
[assetLibrary writeVideoAtPathToSavedPhotosAlbum:[NSURL URLWithString:videoPath] completionBlock:^(NSURL *assetURL, NSError *error)
{
NSError *removeError = nil;
[[NSFileManager defaultManager] removeItemAtURL:[NSURL URLWithString:videoPath] error:&removeError];
});
视频将会被保存在文件夹视频中,但我希望它能够被保存在一个特定的文件夹中,这个文件夹的名字与应用程序相同。我该如何实现这一点?