MailCore:脱机HTML渲染 [英] MailCore: Offline HTML Rendering
问题描述
脱机时似乎无法使用htmlBodyRenderingOperationWithMessage:
(我收到错误消息:无法建立与服务器的稳定连接.).为什么会这样?
It doesn't seem possible to use htmlBodyRenderingOperationWithMessage:
when offline (I get the error A stable connection to the server could not be established.). Why is this?
我已经在本地存储了MCOIMAPMessage,并认为它包含呈现消息所需的一切. htmlBodyRenderingOperationWithMessage:
是否正在从服务器提取更多数据?
I already have the MCOIMAPMessage stored locally and thought it contained everything necessary to render the message. Is htmlBodyRenderingOperationWithMessage:
pulling more data from the server?
推荐答案
呈现MCOIMAPSession
的方法功能有限.
要支持消息的脱机呈现,应使用:
-[MCOIMAPMessage htmlRenderingWithFolder:delegate:]
To support offline rendering of message, you should use:
-[MCOIMAPMessage htmlRenderingWithFolder:delegate:]
使用MCOHTMLRendererIMAPDelegate
提供呈现消息所需的脱机数据.
Use MCOHTMLRendererIMAPDelegate
to provide offline data required to render the message.
这篇关于MailCore:脱机HTML渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!