我正在尝试在我的项目中使用UIActivityViewController共享图像。它工作正常,但有一个名为“BBM”的应用程序。当我尝试发送图像时,它在共享屏幕上显示空白屏幕。我尝试从链接:https://www.devfright.com/social-sharing-using-uiactivityviewcontroller/和我的代码是:
NSString * message = @"My too cool Son";
UIImage * image = [UIImage imageNamed:@"boyOnBeach"];
NSArray * shareItems = @[message, image];
UIActivityViewController * avc = [[UIActivityViewController alloc] initWithActivityItems:shareItems applicationActivities:nil];
[self presentViewController:avc animated:YES completion:nil];