ChatKit-OC icon indicating copy to clipboard operation
ChatKit-OC copied to clipboard

请问打开单聊页面的时候,似乎每次都是重新加载历史记录,能否在第一次打开的时候,加载,之后再进入这个页面以单例的形式快速的看到之前的聊天记录而不需要等待呢?

Open kooyear opened this issue 9 years ago • 2 comments

Base Info for this issue

  1. ChatKit Version:0.7.17
  2. App-ID: XX
  3. Language:Objective-C
  4. iOS System Version:iOS10
  5. Prototype(是否是真机):YES
  6. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A

1. How to repeat the problem.

2. Please help me in this way.

3. Here is a Demo.

4. Here is my Debug log

kooyear avatar Jan 06 '17 05:01 kooyear

这是一个策略,第一次总是从网络加载数据。为的是保证消息的连续性。除了第一次,其余都会优先从本地数据库中加载历史记录。暂时没有更改该策略的接口。

ChenYilong avatar Jan 07 '17 04:01 ChenYilong

fix in CYLChatKit https://github.com/ChenYilong/CYLChatKit/releases

changelog:

v2.1.5 update AVOSCloud and AVOSCloudIM SDK to 11.0.0 and v2.1.5 show the chat view before downloading image message

ChenYilong avatar Jun 14 '18 18:06 ChenYilong