我正在尝试导出图像 viUIActivityViewController
我想知道如何添加更多应用程序,如 Instagram 或其他照片编辑应用程序?
- (IBAction)share:(id)sender {
NSArray* dataToShare = @[_image.image];
UIActivityViewController* activityViewController =
[[UIActivityViewController alloc] initWithActivityItems:dataToShare
applicationActivities:nil];
[self presentViewController:activityViewController animated:YES completion:nil];
}