pageView 滑到最后一页 无法弹回 直接跳转到第一页 位移且不正确

self._pageView:setBounceEnabled(true)
滑到最后一页 无法弹回 直接跳转到第一页 位移且不正确
win32 没有发现问题
ios 有问题

// If the destination is also out of boundary of same side, start brake from beginning.
Vec2 currentOutOfBoundary = getHowMuchOutOfBoundary();
if (!fltEqualZero(currentOutOfBoundary))
{
_autoScrollCurrentlyOutOfBoundary = true;
Vec2 afterOutOfBoundary = getHowMuchOutOfBoundary(adjustedDeltaMove);
if(currentOutOfBoundary.x * afterOutOfBoundary.x > 0 || currentOutOfBoundary.y * afterOutOfBoundary.y > 0)
{
_autoScrollBraking = true;
}
}
进入到了_autoScrollBraking = true;这行。注释掉问题解决 但感觉不合理。