Update Existing backgroundBubble shape
pvsantosh opened this issue · 0 comments
pvsantosh commented
I have created custom bubble shape. I am trying to modify the existing bubble shape by reloading self.messageTable.reloadRows(at: indexPath with: animation)
in completion block of func animateLayoutTransition(_ context: ASContextTransitioning)
like var temp = self.messages[self.messages.count-2] as? MessageNode
temp?.contentNode?.backgroundBubble = temp?.contentNode?.bubbleConfiguration.getMiddleBubble()
in MessageGroup.swift. But, It is not taking effect. Is there any alternative to achieve this? I am trying to make the chat bubbles similar to Facebook messenger chat bubbles (dynamically changing shape).