Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在向 JSQMessage 集合添加并接收消息后,我应该调用哪个方法来刷新视图并呈现新消息?self.finishReceivingMessage()还是self.collectionView!.reloadData()?
self.finishReceivingMessage()
self.collectionView!.reloadData()
哪个性能更高?
您必须调用以下命令:
这将自动重新加载集合视图。