So, I'm using sharekit to share some text. I need to be able to send the email to a pre-defined recipient. How can I set the mail recipient to the sharekit item?
Asked
Active
Viewed 479 times
2 Answers
1
Sharekit has now implemented this. You can use the example below.
NSURL *url = [NSURL URLWithString:@"Your URL"];
SHKItem *item = [SHKItem URL:url title:@"Your title" contentType:SHKURLContentTypeUndefined];
NSArray *recipientArray = [NSArray arrayWithObjects:@"mail@example.com",nil];
[item setMailToRecipients:recipientArray];
[SHKMail shareItem:item];

Maurice
- 792
- 11
- 34
1
I found the answer here: ShareKit
UPDATE: Sharekit has an update that takes care of this now. See the newly accepted answer.

Jeff Wolski
- 6,332
- 6
- 37
- 69