我正在尝试发送一个包含图像和文本的 html 页面。问题是我发送时未显示该图像。有什么解决办法呢?提前谢谢..
我的代码是:
[picker addAttachmentData:myData mimeType:@"pdf" fileName:@"ShowerDoorsQuotation.pdf"];
NSString *emailBody = [NSString stringWithFormat:@"<html>
<head>
</head>
<body><img src='ShowerDoors/ShowerDoors/logo.png' width='150px' height='150px'/>
</body>
</html>"];
[picker setMessageBody:emailBody isHTML:YES];
[self presentModalViewController:picker animated:YES];
[picker release];