UA-17470720-3

Jump to content


Photo
- - - - -

SCTableView changes scrolls up after reloadData


  • Please log in to reply
1 reply to this topic

#1 Dominik Stahlschmidt

Dominik Stahlschmidt

    Starting Out

  • STV 5.0 Pro
  • Pip
  • 3 posts
Reputation: 0
Neutral

Posted 07 August 2015 - 06:11 AM

Hi Tarek,

bought version 5 of STV immediately in hope getting away one issue which I´ve got in Version 4 already - with no success. The problem is if I do a reloadData (update the tableview) the SCTableView will scroll up to a different position. Of course it should stay where it is. In STV 3.0 this works brilliantly. Because of this I have to use still version 3.

 

Do have an idea?

 

Thanks a lot, best

Dominik 



#2 Dave Guerin

Dave Guerin

    Forum Master

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 539 posts
  • LocationIreland
Reputation: 134
Popular

Posted 07 August 2015 - 06:28 AM

Hi Dominik,

 

I'm not sure if it'll help but are you setting the estimatedRowHeight row height correctly?

 

I found that methods like scrollToRowAtIndexPath:atScrollPosition:animated: would scroll to the wrong indexPath if the estimatedRowHeight was very different to the actual row height.


Cheers,

Dave

www.dgapps.ie




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users