[英]Multiple data from UIActivityItemSource
Is there any way to provide multiple objects from a UIActivityItemSource? 有什么办法可以从UIActivityItemSource提供多个对象吗? For example, I would like to provide an NSString and UIImage to Mail, Facebook and Twitter so they are included in the same email/post/tweet.
例如,我想向Mail,Facebook和Twitter提供NSString和UIImage,以便它们包含在同一电子邮件/帖子/推文中。 I tried putting the objects in an NSArray and passing that, but it threw and exception.
我尝试将对象放入NSArray并通过它,但是它抛出异常。
事实证明,我要做的就是向活动控制器提供多个项目,因为每个活动项目源只能提供一个项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.