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

How can I make the icon of pdf for Attachments? #1801

Open
stingray06 opened this issue Jul 1, 2023 · 5 comments
Open

How can I make the icon of pdf for Attachments? #1801

stingray06 opened this issue Jul 1, 2023 · 5 comments
Labels

Comments

@stingray06
Copy link

When will support for thumbnail of the pdf in CollectionView of Attachments? Now it's final func.
final public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
Thanks.

@fukemy
Copy link

fukemy commented Jul 11, 2023

read the document about custom cell

@stingray06
Copy link
Author

Thank you for answer, but the method of collectionView had final operator, and i can't make override its.

@fukemy
Copy link

fukemy commented Jul 11, 2023

Hi, you can not override this function like this, please read the document here, https://github.com/MessageKit/MessageKit/blob/main/Documentation/CUSTOM_CELLS.md

@stingray06
Copy link
Author

Hi, this article about Custom cell of chat. I wrote about call of Attachments Collection View. That's another case.

@fukemy
Copy link

fukemy commented Jul 11, 2023

better give some preview(image/gif/video/youtube...) bro

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