ios - Sharing two image and two text in UIActivityViewController is not working properlly
问题描述
Sharing two image and two text in UIActivityViewController
is not working properlly.
Following is my code.
NSString *title1 = @"up thumbs";
NSString *title2 = @"down thumbs";
UIImage *image1 = [UIImage imageNamed:@"up-thumbs"];
UIImage *image2 = [UIImage imageNamed:@"down-thumbs"];
UIActivityViewController* activityViewController =[[UIActivityViewController alloc] initWithActivityItems:@[title1, image1, title2, image2] applicationActivities:nil];
Share in email it display as following but my need is display first title1 then image1 then title2 then image2.
Share in notes it display as following. It display only title1 not display title2 and both image is same space.
How display both title and both image separate.
how to solve this problem.
Please help me!
解决方案
推荐阅读
- python - 在 PyTorch 中指定 LSTM 层中的单元数
- php - 如何获取mysqli_fetch_array php中的第一个值
- google-cloud-firestore - 如果子集合中的文档被修改,事务会失败吗?
- php - PHP从没有直接图像名称的url下载图像
- python - 用 Python 绘制眼镜蛇图表
- php - AWS SES 电子邮件未使用 Laravel 验证
- python - Django - 注册失败,向用户显示原因
- azure-policy - 如何比较 Azure Policy 中的多个数组?
- java - 复制实例变量后出现空指针异常?
- javascript - 错误 [ERR_MODULE_NOT_FOUND]:找不到从 build\server.js 导入的模块 'build\app'