iOS中icviewpage库中的断言失败问题

时间:2014-07-25 11:47:16

标签: ios uipagecontrol

我在iOS应用程序中实现了icviewpager。我有3个标签一切正常。问题是,当我在选项卡之间切换太快时,应用程序崩溃并出现以下异常。

断言失败 - [_ UIQueuingScrollView _enqueueCompletionState:],/ SourceCache / UIKit / UIKit-2935.137 / _UIQueuingScrollView.m:499。

使用All exeption break poing我发现它崩溃了。

[self.pageViewController setViewControllers:@[viewController]

direction:(activeContentIndex < self.activeContentIndex) ? UIPageViewControllerNavigationDirectionReverse : UIPageViewControllerNavigationDirectionForward

animated:YES

completion:^(BOOL completed) {

weakSelf.animatingToTab = NO;

}];

请告诉我如何解决这个问题。如果需要更多信息,请告诉我。 感谢。

0 个答案:

没有答案
相关问题