2014-02-13 85 views
0

以下是我的代码将文件添加到属性文本:如何自定义NSTextAttachment显示样式?

enter image description here

以下是Evernote的的渲染风格:

enter image description here

相信的Evernote还利用文本工具包和NSTextAttachment。谁能告诉我如何改变NSTextAttachment的显示风格?

回答

0

NSTextAttachment仅仅是在最简单的情况下显示UIImage,因此您可以根据需要生成想要查看和格式化周围文本的图像。

相关问题