Changing the height of the TableView on scrolling resets the contentOffset

I discovered animation flickering that occurs when dragging down UITableView

. If the height of the UITableView changes while dragging the rubber band, it is contentOffset

set to contentInset

when the table height change animation ends.

Here's a project reproducing the problem as well as poor performance. If you drag the table down, you should see the table contents flicker for a moment.

Anyone have any ideas for a better workaround?

https://github.com/KingOfBrian/AppleBugs/blob/master/ContentOffsetBug/ContentOffsetBug/RZViewController.m

+3
ios objective-c uitableview


source to share


No one has answered this question yet

Check out similar questions:

346
Can you change the height change on the UITableViewCell if selected?
eleven
Changing UITableViewCell height on orientation change
8
ReloadRowsAtIndexPaths call removes tableView contentOffset
6
Change specific row height of uitableviewcell while scrolling uitableview
6
Changing cell height on scrolling UITableView
6
Change UITableView contentInset without changing its content?
five
elastic rubber band effect for iPhone?
1
Swift: change table height in scroll
0
Can't dynamically change height of UITableView
0
How to animate UITableView off screen like Facebook app viewer



All Articles
Loading...
X
Show
Funny
Dev
Pics