我在我的应用程序中使用了ViewPager Auto Scroll of images。第一次viewpager完美滑动。但是当我从其他片段或活动返回时,viewpager自动滚动突然快速滑动
这是我的代码
// retrieve the SCNView
SCNView *myView = (SCNView *)self.view;
// load dae file and set the scene to the view
myView.scene = [SCNScene sceneNamed:@"model.dae"];
myView.userInteractionEnabled = YES;
myView.allowsCameraControl = YES;
myView.autoenablesDefaultLighting = YES;
myView.backgroundColor = [UIColor lightGrayColor];