I need to disable/enable the ability to change the tab when a action is called in the pageview. I have no idea how i could access the pageviewcontroller before the swipe gestures is called.
I tried it with additional delegate methods in the guitabpagerviewcontroller and i also tried to access directly from my main controller to set pageViewControllerObject.view.userInteractionEnabled = NO; It is not possible because the pageviewcontroller is a child of UIPageViewControllerContentView.
So i become a warning: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UIPageViewControllerContentView childViewControllers]: unrecognized selector sent to instance.
I need to disable/enable the ability to change the tab when a action is called in the pageview. I have no idea how i could access the pageviewcontroller before the swipe gestures is called.
I tried it with additional delegate methods in the guitabpagerviewcontroller and i also tried to access directly from my main controller to set pageViewControllerObject.view.userInteractionEnabled = NO; It is not possible because the pageviewcontroller is a child of UIPageViewControllerContentView. So i become a warning: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UIPageViewControllerContentView childViewControllers]: unrecognized selector sent to instance.