UIActivityViewController mixes text and images and keeps order

Can I mix images and text and send them as MMS? UIActivityViewController will share the image with the text below it, but no matter how I order the text and images, the images are always displayed at the top and text at the bottom. If this is not possible using the UIActivityViewController , is there any other way?

The code I'm trying to use is:

 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]; 

He produces this result: Result produced

But this is what I want: What i want

+6
source share

Source: https://habr.com/ru/post/969554/


All Articles