Hi I am trying to share an image URL and description with a wechat user using UIActivityController but it fails to share the image. I have tried with the following code:
UIActivityViewController *activityView = [[UIActivityViewController alloc] initWithActivityItems:@[@"TestMessage", [UIImage imageNamed:@"pauseImage"], [NSURL URLWithString:@"http://www.google.com"]] applicationActivities:nil];
activityView.excludedActivityTypes = @[UIActivityTypeAssignToContact,
UIActivityTypeCopyToPasteboard, UIActivityTypePrint];
[self presentViewController:activityView animated:YES completion:nil];
I am getting output as shown in following image:
Any help or suggestions would be appreciated. Thanks.