ReloadSections: withRowAnimation: automatically scrolls the UITableView

I am using UITableview

with dynamic height lines and in the content I have a "Read more" button. When the button is clicked, I add data to the row and call reloadSections:withRowAnimation:

for that section.

Everything works as expected, with only one problem - that the table view automatically scrolls to another cell after reloadSections:withRowAnimation:

. Can anyone help me find out why this is happening?

+3


source to share





All Articles