Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TableView jumps #20

Closed
ranjitk-plackal opened this issue Mar 17, 2015 · 3 comments
Closed

TableView jumps #20

ranjitk-plackal opened this issue Mar 17, 2015 · 3 comments

Comments

@ranjitk-plackal
Copy link

Hello,

When I use this

[m_tableView beginUpdates];
[m_tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:m_indexPath] withRowAnimation:UITableViewRowAnimationFade];
[m_tableView endUpdates];

and

[m_tableView beginUpdates];
[m_tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:m_indexPath] withRowAnimation:UITableViewRowAnimationFade];
[m_tableView endUpdates];

tableView jumps, it happens because of this

m_tableView.estimatedRowHeight = 97.0;
m_tableView.rowHeight = UITableViewAutomaticDimension;

But then if we remove this, then we will not variable height.

So guys please help me out..

Here is my SO question for same

http://stackoverflow.com/questions/29079485/reloadrowsatindexpath-weird-behaviour-for-uitableview

Regards
Ranjit

@smileyborg
Copy link
Owner

Hi Ranjit,

This is almost certainly the same issue as #17. Please take a look at that thread for further information.

@ranjitk-plackal
Copy link
Author

Hello smileyborg,
So there is no solution for this?

@smileyborg
Copy link
Owner

As discussed in #17, this is an Apple bug, with no known workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants