Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 11 中会话消息布局错误。 #45

Closed
raykle opened this issue Jun 29, 2017 · 7 comments
Closed

iOS 11 中会话消息布局错误。 #45

raykle opened this issue Jun 29, 2017 · 7 comments

Comments

@raykle
Copy link

raykle commented Jun 29, 2017

qq20170629-180558 2x

qq20170629-181156 2x

iOS 11 中刚进入聊天界面,消息 cell 的布局错误,滑动 cell 重新出现的布局就对了。

调试发现,tableView 先进入了 dataSource 方法:cellForRowAtIndexPath,后进入了 delegate 方法:heightForRowAtIndexPath,

而 cell 的布局是在 heightForRowAtIndexPath[self.interactor checkLayoutConfig:model]; 中的 -calculateContent:force: 中确定的。

不知道 iOS 11 正式发布后,方法的调用顺序会不会改回来。

@cirelir
Copy link

cirelir commented Jul 7, 2017

这个我试了,在真机上没有这个问题

@wolangerxing
Copy link

正在做iOS 11的适配,这个问题真是恶心啊。。。

@raykle
Copy link
Author

raykle commented Sep 12, 2017

@wolangerxing 恩,现在 11 还没发布,我们也还没解决这个问题,先等官方更新吧。。。

@xiangwangfeng
Copy link
Contributor

@wolangerxing @raykle 这个问题我们会在 iOS 11 正式版发出后进行检查,如果问题仍旧存在,我们将第一时间修改

@raykle
Copy link
Author

raykle commented Sep 12, 2017

@xiangwangfeng 👌🏻

@yitianljt
Copy link

iOS11 sdk编译出来在iOS11手机上会有问题。

@chrisray108
Copy link
Contributor

已修正

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants