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.
Bug report on OpenRadar
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…