Reputation: 9541
I want to get the "Me" card's Name so when i create the mail window with MFMailComposeViewController
I can
MFMailComposeViewController *mailer = [[MFMailComposeViewController alloc] init];
mailer.mailComposeDelegate = self;
[mailer setSubject:@"Suggestion: from (Name of Person)"];
Basically substitute the (Name of Person) with the name on their contact card.
Upvotes: 0
Views: 818
Reputation: 17772
You can't get the "Me" card from the iOS SDK. There's a me
method for the mac, but not for iOS. If the name of the person will be in the From: field, what value is there in adding it to the subject line?
Upvotes: 2