阅读背景:

设置内容inset使UItableView滚动一点

来源:互联网 

I have a UITableView with a "add new item" cell at the bottom. When the user taps the text field, the keyboard appears and the tableview gets a content inset, so that its bottom is always above the keyboard and not hidden beneath it. This already works almost perfectly, but after the keyboard appeared, the tableview is no longer scrolled to the bottom as before, it is slightly above the bottom, so that the bottom cell is partly covered by the keyboard.I have a UITableView with a "add new item" cell




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: