当我在我的应用程序中设置多个视图控制器时,我的应用程序不断崩溃,如下所示.
[self setViewControllers:_images direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:NULL];
Run Code Online (Sandbox Code Playgroud)
我的图像是一组视图控制器.
该应用程序崩溃说以下错误.我不知道从哪里开始.
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
Run Code Online (Sandbox Code Playgroud)