Comments (5)
首先确保那个 imageView 能在一般视图上能显示,如果显示不了则可能是文件名、图片有问题。
之后确认 ImageView 、Label 是在主线程创建和操作的。
from yytext.
感觉应该是与 Cell 的重用机制有关,不显示的图标,通过cell的上下滑动,重新出现以后可以显示。
可以给个QQ吗? 可以发个视频给你看一下。
from yytext.
直接在YYTextDemo,测试也会发生这样的问题,快速上下滑动,有几率出现,如果 attachment 是 UIImage没有问题,只有UIView 的时候会出现,问题应该是出在newAsyncDisplayTask, task.willDisplay task.display task.didDisplay 里面,麻烦帮忙看一下
from yytext.
感谢提出问题,已复现并修复。
更新一下代码或者 pod 再试一下看看~
from yytext.
测试过了,目前没有重现了。Thanks!
from yytext.
Related Issues (20)
- -[YYTextLayout firstRectForRange:(YYTextRange *)],这个方法中有一段代码的逻辑好像有些错误:
- 请求添加PrivacyInfo.xcprivacy
- IOS17.0 UIGraphicsBeginImageContextWithOptions崩溃 HOT 1
- 大神你好,考虑出个安卓版吗
- _YYTextKeyboardViewFrameObserver崩溃 HOT 7
- 大神 UIAlertController 使用失效了 是怎么回事呢
- 字符错误截断的问题
- File not found: libarclite_iphoneos.a HOT 2
- YYLabel 在StoryBoard中使用, 约束上下设置了, 为什么不自动换行?只显示一行?
- YYTextLayout中计算_lineWidth的代码直接使用了CTLineGetTypographicBounds,这将在文本设置居中的时候出现一些布局的错误
- UIGraphicsBeginImageContext Deprecated HOT 8
- 多段落文本,如何设置某个段落只显示一行
- 竖向排列最后一行被省略
- yyLabel显示html富文本标签异常
- - (void)yy_setAttribute:(NSString *)name value:(id)value range:(NSRange)range 崩溃问题
- yy_attachmentStringWithContent内存泄露 HOT 4
- UIGraphicsBeginImageContext ios17 crash HOT 1
- Any Plan support Apple Privacy Manifest for cocoapods ? HOT 2
- 富文本同时设置下划线和斜体,下划线就不显示了yy_setTextGlyphTransform,yy_setUnderlineStyle
- window.overrideUserInterfaceStyle = UIUserInterfaceStyleDark 强制暗黑模式动态颜色不起作用,这个要怎么解决?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yytext.