MailCore:脱机HTML渲染 [英] MailCore: Offline HTML Rendering

查看:108
本文介绍了MailCore:脱机HTML渲染的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

脱机时似乎无法使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆