Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pictures can't show #1028

Closed
zhanghongdou opened this issue Nov 9, 2016 · 1 comment
Closed

Pictures can't show #1028

zhanghongdou opened this issue Nov 9, 2016 · 1 comment
Labels

Comments

@zhanghongdou
Copy link

My HTML inside the pictures can't show, on the cell,please help me

@odrobnik
Copy link
Collaborator

To layout images their size needs to be known. Look at the demo to see how DTLazyImageView loads the images and then re-does the layout once the size is known. Alternatively you can use the technique I am showing here, but you would need to replace the current mechanism in DTCoreText with NSTextAttachment... at present it is using a custom class for attachments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants