ZHChat icon indicating copy to clipboard operation
ZHChat copied to clipboard

Regarding outgoing messages direction

Open amandeepsingh-dev opened this issue 7 years ago • 4 comments

i am adding three types of messages showing in my chat screen one at my left side and rest of the 2 will be on right, so the third one i want on right side is showing on left as i give the same code which i provide on right message

 outgoingBubbleImageData = bubbleFactory.outgoingMessagesBubbleImageWithColor(UIColor(red:0.34, green:0.67, blue:0.18, alpha:1.0))  
     incomingBubbleImageData = bubbleFactory.incomingMessagesBubbleImageWithColor(UIColor(red:0.77, green:0.77, blue:0.77, alpha:1.0));
       outgoingBubbleImageData2 = bubbleFactory.outgoingMessagesBubbleImageWithColor(UIColor(red:0.17, green:0.24, blue:0.31, alpha:1.0))

amandeepsingh-dev avatar Apr 06 '17 06:04 amandeepsingh-dev

You need to specify in the delegate:

- (nullable id<ZHCMessageBubbleImageDataSource>)tableView:(ZHCMessagesTableView *)tableView messageBubbleImageDataForCellAtIndexPath:(NSIndexPath *)indexPath

zhuozhuo avatar Apr 07 '17 09:04 zhuozhuo

Hi Amandeep, you have added custom view for sending message instead of ZHCMessagesInputToolbar, i also tried by dragging view textfields and button in xib, but those are not getting visible, how you made it done. let me know please

imran233113 avatar Apr 25 '17 05:04 imran233113

Actually i have added the view into MessageMoreView after that using constraints its showing like this.............

On Tue, Apr 25, 2017 at 10:37 AM, Imran Khan [email protected] wrote:

Hi Amandeep, you have added custom view for sending message instead of ZHCMessagesInputToolbar, i also tried by dragging view textfields and button in xib, but those are not getting visible, how you made it done. let me know please

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zhuozhuo/ZHChat/issues/19#issuecomment-296909128, or mute the thread https://github.com/notifications/unsubscribe-auth/AZtLCJ2EvlDGgxqoFhjCEFudMRnoayT6ks5rzX-RgaJpZM4M1LUQ .

amandeepsingh-dev avatar Apr 25 '17 11:04 amandeepsingh-dev

Hi thanks, ZHCMessagesInputToolbar how to completely remove empty space if i hide it. empty space is not going . please update me

imran233113 avatar Apr 27 '17 12:04 imran233113