UIActivityViewController mixing text and images and keeping the order
Asked Answered
D

0

8

Is it possible to mix images and text and send them as MMS? UIActivityViewController will share an image with text underneath, but no matter how I order the text and images, the images always appear on top and the text on the bottom. If it's not possible with UIActivityViewController, is there another way?

The code I'm trying to use:

NSArray *activityItems = @[smallImage, @"Love", mediumImage, @"You", largeImage];
NSArray *applicationActivities = nil;
NSArray *excludeActivities = nil;

UIActivityViewController * activityController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:applicationActivities];

activityController.excludedActivityTypes = excludeActivities;

[self presentViewController:activityController animated:YES completion:nil];

It produces this result: Result produced

But this is what I want: What I want

Dietetics answered 20/5, 2014 at 1:6 Comment(3)
Hi, Did you get any solutions? I have the same issue. I need to know how to fix it. Thanks.Manful
I haven' found any solutions yet. I'm still having the same issue. I'm sorry!Dietetics
Bump. Having the same issue. If I use an attributed string, the image doesn’t show up.Faker

© 2022 - 2024 — McMap. All rights reserved.