【发布时间】:2010-04-16 12:22:52
【问题描述】:
如何在邮件编写器的 html 正文中添加换行符?
我有一个字符串:
NSString *emailBody = [NSString stringWithFormat:@"<html><b>%%0D%%0AHello,%%0D%%0AHere's a link to your product%%0D%%0A<a href=\"%@\">click here</a>%%0D%%0A best regards</b></html>", currentProduct.url_product_details];
[picker setMessageBody:emailBody isHTML:YES];
当我设置邮件编写器的正文时,我看到它没有换行。 如何让新行出现?
TIA
【问题讨论】:
标签: iphone html iphone-sdk-3.0 mfmailcomposeviewcontroller