问题
Is there any way to provide multiple objects from a 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. I tried putting the objects in an NSArray and passing that, but it threw and exception.
回答1:
Turned out all I needed to do was provide multiple items to the activity controller, since each activity item source can only provide one item.
来源:https://stackoverflow.com/questions/21468866/multiple-data-from-uiactivityitemsource