I have a view controller that it part of a UIPageViewController. Within this view controller, there is a view called pdfView
. This view has a UIScrollview.
-UIPageViewController
-UIViewController
-pdfView (UIView)
-UIScrollView
I set the gesture recognizers of pdfView
to be the UIPageViewController's gesture recognizers (for turning the page). The only problem is, if the user zooms into the scroll view by pinching, they are unable to move to the right or left of the scroll view because the page turns instead. What do you suggest I do to prevent this from happening? Thanks.
pdfView.gestureRecognizers = self.pageViewController.gestureRecognizers;