RATreeView
RATreeView copied to clipboard
Scrollview.contentOffset not functioning
I would like to save the scroll position between launches.
Normally with a UITableView I would save the content offset of the scrollview and save it. On the next launch I read this value and set the contentOffset with the saved value.
I don't see the expected behavior, my HierarchyView is always scrolled to the top after launch.
The following will reproduce the error:
CGPoint scrollPoint = CGPointMake(0,100);
self.treeView.scrollView.contentOffset = scrollPoint;
When (in what method/at which moment) are you setting contentOffset in a way described above?