Skip to content

iOS 表格渲染存在两个问题,高度回调不及时和表格内容显示不全。 #83

@uclort

Description

@uclort

附件文件夹有修改后的代码和预览视频。
在 AIChatViewController.m 添加计时器,模拟流式接口数据。

  1. 计时器频率设置为 0.05s,模拟网络环境优秀,偶现表格内容渲染不全,两行文本第二行被切割一样。
  2. 计时器频率设置为 0.5s,模拟网络环境差,会出现表格内容超出视图区域,视频能直观看到,对 cell 加了红色背景,白色的 md 区域超出了,然后 md view 长时间没有变化,项目未卡死,长时间等待后 md view 布局跳变为正常,偶现 md 表格中的内容被切割,同 1.

归档.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions