这是一个创建于 3268 天前的主题,其中的信息可能已经有所发展或是发生改变。
NSTextAttachment 放了一个图片,异步加载回来,加载成功有回调给 tableView 去 reload
但是有个别的图片不是立刻就显示出来。
观察规律:位于 UILabel 起始和终点的图片较大概率不显示。
点击一下 cell 或者滑动列表再划回来图片就显示出来了。
1 条回复 • 2015-10-29 09:35:36 +08:00
|
|
1
iCell 2015-10-29 09:35:36 +08:00
你图片异步加载之后用 NSTextAttachment 生成 NSAttributedString 之后,又在主线程上更新 UILabel 吗
|