Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Update Existing backgroundBubble shape #184

Open
pvsantosh opened this issue Jan 23, 2018 · 0 comments
Open

Update Existing backgroundBubble shape #184

pvsantosh opened this issue Jan 23, 2018 · 0 comments

Comments

@pvsantosh
Copy link

pvsantosh commented Jan 23, 2018

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).

@pvsantosh pvsantosh changed the title Update backgroundBubble shape Update Existing backgroundBubble shape Jan 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant