I'm using the new UIActivityViewController
class in iOS6 to provide the user with various sharing options. You can pass an array of parameters to it such as text, links and images and it does the rest.
How do I define recipients? For example sharing via mail or SMS should be able to accept recipients but I can't figure out how to invoke this behaviour.
I don't want to have to have to use MFMessageComposeViewController
and UIActivityViewController
separately as that just defeats the purpose of the share controller.
Any suggestions?
UIActivityViewController Class Reference
Edit: This has now been submitted Apple and subsequently merged with a duplicate bug report.
See Question&Answers more detail:os