You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am adding new message from opponent using following code,
let chatController = LGChatController()
let helloWorld = LGChatMessage(content: "Hello World!", sentBy: .Opponent)
chatController.addNewMessage(helloWorld)
then it is crashing and i got result as following,
Terminating app due to uncaught exception 'NSRangeException', reason: '-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (0) beyond bounds (0) for section (0).'
because "LGChatMessage" is empty.
So how can i add new message from opponent? It's working fine when i am adding message from user.
Please help me.
Thanks in advance. :)
The text was updated successfully, but these errors were encountered:
Hi,
I am adding new message from opponent using following code,
then it is crashing and i got result as following,
Terminating app due to uncaught exception 'NSRangeException', reason: '-[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (0) beyond bounds (0) for section (0).'
because "LGChatMessage" is empty.
So how can i add new message from opponent? It's working fine when i am adding message from user.
Please help me.
Thanks in advance. :)
The text was updated successfully, but these errors were encountered: