发送的消息内容过长,消息列表的TableView不会滚动到对应的消息Cell位置了 需要手动向下滚动才能看到刚才的消息
Opened this issue · 2 comments
lztbwlkj commented
发送的消息内容过长,消息列表的TableView不会滚动到对应的消息Cell位置了 需要手动向下滚动才能看到刚才的消息
corderguo commented
滚动距离可以自己控制的
xieguangming commented
滚动距离怎么控制?
发现这段代码:
if (self.dataSource.count > 0) {
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:self.dataSource.count-1 inSection:0] atScrollPosition:UITableViewScrollPositionBottom animated:NO];
}
在iOS11 系统上面, Cell还是不能滚动到最下面一行的Cell, 可以一起看一下吗?