【发布时间】:2012-02-28 18:37:41
【问题描述】:
我想在我的 iPhone 应用程序中添加一个图片作为附件。现在我要像这样附加图片:
NSMutableString * body = [[NSMutableString alloc] initWithString:@"<html><body><img src=\"http://url here\"/>"];
[body appendString:@"</body></html>"];
[mailer setMessageBody:body isHTML:YES];
但我想包含一个位于我的资源文件夹中的图像,而不是 url。
我该怎么做?
【问题讨论】:
标签: iphone objective-c