self.scrollViewContainer.contentSize的size一定要设置对。
self.scrollViewContainer.directionalLockEnabled = YES;
self.currentPage = scrollView.contentOffset.x / self.bounds.size.width + 1;这句 要判断下,当它滚动的scrollView.contentOffset.x 刚刚是self.bounds.size.width 整数倍时 再跟新 self.currentPage