RT, 我是这么设置的, 但如图所示,有时候回遮挡住cell的内容, 有时候不会
self.tableView.scrollToRowAtIndexPath(NSIndexPath(forRow: self.messages().count-1, inSection: 0), atScrollPosition: UITableViewScrollPosition.Bottom, animated: false)
http://stackoverflow.com/questions/25686490/ios-8-auto-cell-height-cant-scroll-to-last-row 和这个问题类似
self.automaticallyAdjustsScrollViewInsets = NO;
加上这句看看
我用了http://stackoverflow.com/questions/25686490/ios-8-auto-cell-height-cant-scroll-to-last-row 中说的这个方法 就解决了, 但不知道为什么, 谁能解释一下?
你的frame的高度过高 设置下frame或者设置约束 位置在哪个输入框之上就行了
iOS有问必答社区为你回答
426981364
有问题可以扣群上问