iOS-Pro icon indicating copy to clipboard operation
iOS-Pro copied to clipboard

大神 用coretext做图文混排的时候 如果不是本地图片 而是一个图片的网址 该怎么异步加载呢?

Open UnAmico0 opened this issue 8 years ago • 2 comments

UnAmico0 avatar Sep 23 '16 07:09 UnAmico0

你需要先在排版前,获得异步加载的图片长宽,然后在加载图片时,显示一个占位图,之后加载成功后,再刷新这个图片。

2016-09-23 15:08 GMT+08:00 UnAmico0 [email protected]:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tangqiaoboy/iOS-Pro/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AAsvqTIN91KOoD_oBKYKy2XUo0porzWVks5qs3rfgaJpZM4KErFn .

tangqiaoboy avatar Sep 24 '16 07:09 tangqiaoboy

agree

BackWorld avatar Feb 07 '17 10:02 BackWorld