Adda property to check if a track can be exported.

This commit is contained in:
Damiano Galassi committed 2018-10-22 11:25:35 +02:00
1 parent 3f0c6c85b6
commit 2321192a5b
3 files changed
+11

No files matched your search

+5
View File
@@ -322,6 +322,11 @@
return localizedDisplayName(_mediaType, self.targetFormat);
}
- (BOOL)canExport
{
return NO;
}
- (BOOL)exportToURL:(NSURL *)url error:(NSError * __autoreleasing *)error
{
return YES;