当我在应用程序中设置多个视图控制器时,我的应用程序不断崩溃,如下所示.
[self setViewControllers:_images direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:NULL];
我的图像是一组视图控制器.
由于出现以下错误,应用程序崩溃.我不知道从哪里开始.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'The number of view controllers provided (9) doesn't match the number required (1) for the requested transition