Hi, I just can’t find the infinite scrolling implementation for the jsqmessagesviewcontroller library. I tried to do this: I programmatically turn the table 180 degrees, as well as the cells. But I ran into a problem on the iphone 6, that not all the cells turn over, although at 5 everything is ok.
1 answer
Try to reach the collectionView with messages. Then you can handle the collectionView: willDisplayCell: forItemAtIndexPath: methods (preferably, this is from the UICollectionViewDelegate), as well as the UIScrollViewDelegate methods. And when the user scrolls to the bottom or to the last cell - add new messages.
PS: you may have to write / add a delegate for jsqmessagesviewcontroller
|