I want to send a text file in the body of my email, using MFMailComposeController. Is there a way to change the font size?
NSString *file = [[NSString alloc] initWithContentsOfFile:fileName];
Look at MFMailComposeViewController
's -setMessageBody:isHTML:
for starters. If you specify a message body that is HTML, then you can also include CSS markup specified in an included <style>
section for whatever font styling you like, among other things.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.