[英]How to customize NSTextAttachment display style?
以下是我的代碼將文件添加到屬性文本:
以下是evernote的渲染樣式:
我相信Evernote也在使用Text Kit和NSTextAttachment。 誰能告訴我如何更改NSTextAttachment的顯示樣式?
NSTextAttachment僅在最簡單的情況下顯示UIImage,因此生成您想查看的圖像並根據需要設置周圍文本的格式。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.