Closed mrojas closed 10 years ago
@mrojas In the nib of outgoing message, you could add a imageview just where you want show the checkmark image. hide show the images based on the message status receipt. I do not know if this the perfect way to do it, but this is what I come up with.
cc @jessesquires
Hi Rahul, Thanks for your comment. So did you fork the project to do that? One other thing that would be pending with your approach, is to know whether to put the checkmark on the same line (if there is space) or the next line. I don't really know how to get the exact size the content of the UITextView takes, in order to calculate if the checkmark has to be put in the same line or a new line.
hey @mrojas - @rahulgautam 's suggestion is a good approach.
one other option would to be to set the attributedText
on the cellBottomLabel
with an NSTextAttachment
. (if you are ok with displaying the checkmark below the bubble)
Hi i know it is a old post but, how you all fix the problem with the check marks?, I did what jessesquires said, but my check marks does not appear, because the bubble color hidden, therefore how I can fix that problem?
can we display the checkmark beside the bubble like whatsapp, if we can control the cellBottomLabel position it will be great
Hello, I've been using the cell bottom view to indicate if a message has been sent/received, like in iMessage. Now I would like to have one or two checkmarks inside the bubble, like in Whatsapp. I would you proceed? I have tried setting the attributedText which includes an image, but that breaks the width calculation performed by JSQMessagesViewController.
Thanks in advance!