views:

43

answers:

0

I'm writing some code that causes a UITableView to change it's height, ie changing the value of tableView.frame.size.heigh. Every time I change the height it causes the entire table to scroll all the way to the top of the table. At which point I have to call scrollToRowAyIndexPath on the table to get the table view back to where it was.

Does anyone know of a way to get the table to stop scroll when its height is changed?

Thanks in advance - AYAL