简体   繁体   English

使用swift在Mail Body中获取UIImage

[英]Get UIImage in Mail Body using swift

I am trying to setup a mail to be sent from my Swift App. 我正在尝试设置要从我的Swift应用发送的邮件。 I am seeking to embed an image inside the HTML of my mail (not as attachment). 我试图将图像嵌入到邮件的HTML内(而不作为附件)。

Is there a way to do that from my app? 有没有办法从我的应用程序中做到这一点?

This here helped me. 这对我有帮助。 Needed to do a few modifications but this worked for me! 需要做一些修改,但这对我有用!

How to add a image in email body using MFMailComposeViewController 如何使用MFMailComposeViewController在电子邮件正文中添加图像

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM