scrollview -> view -> container
我目前遇到的问题是,先调用func1,然后滑动scrollview到某个位置,然后调用func2,滑动列表不能正常显示,可能因为func1让scrollview的某些属性变得很大。所以想请问如何还原scrollview??不然就得重复创建好几个一模一样的scrollview在界面上,太不优雅。
func1() {
container.removeAllChildren();
循环50次:
container.addChild(node1);
}
func2() {
container.removeAllChildren();
循环10次:
container.addChild(node2);
}



