No description, website, or topics provided.
Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
TableResize.xcodeproj
TableResize
.gitignore
README.md
test

README.md

How to properly resize an UITableView/UIScrollView

This example shows what you can do to resize your tableView/scrollView without glitches. As you might know, changing the frame of them in an animation block might cause glitches when the contentOffset is at its maximum value. Now, if you don't change the frame but change the contentInset instead, there are no glitches. This is a very useful technique to adjust a tableView/scrollView when displaying a keyboard under it. Hope this helps. MIT license, if you care.