一、需求来源 最近做聊天气泡根据内容自动拉伸的效果。 气泡效果: 切换气泡: 二、使用示例 三、源码 NChatBubble 最后、总结 核心是通过 DecorationImage 的 centerS