Jungs.Entfernen Sie die Möglichkeit, kleine Dateigröße zu senden?
Ich versuche, ein gif mit UIActivityViewController
zu teilen. Ich benutzte Code unten:
NSURL *documentsDirectoryURL = [[NSFileManager defaultManager] URLForDirectory:NSDocumentDirectory inDomain:NSUserDomainMask appropriateForURL:nil create:YES error:nil];
NSURL *fileURL = [documentsDirectoryURL URLByAppendingPathComponent:@"animated.gif"];
NSString *text = @"This GIF was created successfully on Gifbooth https://itunes.apple.com/us/app/gifbooth-free-gif-maker-animated/id1031899651?ls=1&mt=8";
NSData *gifFile=[NSData dataWithContentsOfFile:fileURL.path options:NSDataReadingMappedAlways error:nil];
UIActivityViewController *controller = [[UIActivityViewController alloc] initWithActivityItems:@[text,gifFile] applicationActivities:nil];
[self presentViewController:controller animated:YES completion:nil];
Wenn ich beschließe, mit E-Mail zu teilen, habe ich das.
ich entfernen möchte die Möglichkeit, die kleine Datei zu senden. Ich möchte nur die Datei in Originalgröße senden.