iphone - How can I append text to the bottom of my MFMailComposeViewController? -
I would like to add the "sent" text below the message
if ([MFMailComposeViewController CanSendMail]) {MFMailComposeViewController * Controller = [[MFMailComposeViewController alloc] init]; Controller.mailComposeDelegate = self; [Controller setSubject: [NSString stringWithFormat: @ "a message from:% @", self.profileName]]; [Controller setMessageBody: [NSString stringWithFormat: @ "% @", self.cellBody] is HTML: no]; [Self current model view controller: animated controller: yes]; [Controller release]; } And {UIAlertView * alertView; AlertView = [[UIAlertView alloc] initWithTitle: @ "Email Not Enabled" Message: @ "E-mail is not supported on this device" Rep: Automatically cancelTutton title: @ "OK" other buttontitles: zero]; [Show warning view]; [Release Release]; } " / Code> and & lt; Br> Use the line break or try using setMessageBody
string
in \ n
The message "Sent from".
Comments
Post a Comment