I am developing an application that makes use of a UIPageViewController. I noticed that if I change multiple pages too quickly, it causes several problems at runtime. 

Is there a way to set a delay (such 2 or 3 milliseconds) between two page changes?
Thanks in advance.

\*\**\**\*\**\**\*\**\**\*\*\* *DETAILED ANSWER* \*\**\**\*\**\**\*\**\**\*\**\**\*\*

The solution is this: 

```
-(void)pageViewController:(UIPageViewController *)pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray *)previousViewControllers transitionCompleted:(BOOL)completed{

    if(completed) {
        [pageViewController.view setUserInteractionEnabled:NO];
        [self performSelector:@selector(enableUserInteraction) withObject:nil afterDelay:0.2];
    }
}

-(void)enableUserInteraction{
    [self.view setUserInteractionEnabled:YES];
}

```